SHA256
1
0
forked from pool/open-lldp

Accepting request 235023 from home:jsegitz:branches:network:fcoe

- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/235023
OBS-URL: https://build.opensuse.org/package/show/network:fcoe/open-lldp?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2014-06-05 15:51:14 +00:00
committed by Git OBS Bridge
parent 1a4148b4d0
commit 5b1a54f450
2 changed files with 9 additions and 0 deletions

View File

@@ -96,11 +96,15 @@ ln -s service %{buildroot}%{_sbindir}/rclldpad
%{fillup_and_insserv -n -i lldpad}
%service_add_post lldpad.service
%pre
%service_add_pre lldpad.service
%preun
%service_del_preun lldpad.service
%postun
%{insserv_cleanup lldpad}
%service_del_postun lldpad.service
%post -n %libname -p /sbin/ldconfig