Accepting request 85108 from home:fcrozat:systemd
- Use latest systemd RPM macros. OBS-URL: https://build.opensuse.org/request/show/85108 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=37
This commit is contained in:
parent
177af1f658
commit
2d2118eecb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 26 16:20:40 UTC 2011 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Use latest systemd RPM macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 23 14:18:54 UTC 2011 - fcrozat@suse.com
|
Fri Sep 23 14:18:54 UTC 2011 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -77,20 +77,15 @@ install -dm 755 %buildroot%_var/log
|
|||||||
touch %buildroot%_var/log/acpid
|
touch %buildroot%_var/log/acpid
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_migrate_to_systemd_pre acpid
|
%service_add_pre acpid.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_and_insserv -y -f acpid}
|
%{fillup_and_insserv -y -f acpid}
|
||||||
%service_migrate_to_systemd_post acpid
|
%service_add_post acpid.service
|
||||||
%service_add acpid.service
|
|
||||||
if [ $FIRST_ARG -eq 1 ]; then
|
|
||||||
/bin/systemctl enable acpid.service 2> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%restart_on_update acpid
|
%restart_on_update acpid
|
||||||
%{insserv_cleanup}
|
%{insserv_cleanup}
|
||||||
%service_migrate_to_systemd_postun acpid
|
|
||||||
%service_del_postun acpid.service
|
%service_del_postun acpid.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
Loading…
Reference in New Issue
Block a user