Accepting request 84622 from home:fcrozat:branches:Base:System
- Ensure acpid is enabled on initial install, under systemd OBS-URL: https://build.opensuse.org/request/show/84622 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=35
This commit is contained in:
parent
fe2d05163d
commit
177af1f658
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 23 14:18:54 UTC 2011 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Ensure acpid is enabled on initial install, under systemd
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 17 10:46:41 UTC 2011 - jengelh@medozas.de
|
Sat Sep 17 10:46:41 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -83,6 +83,9 @@ touch %buildroot%_var/log/acpid
|
|||||||
%{fillup_and_insserv -y -f acpid}
|
%{fillup_and_insserv -y -f acpid}
|
||||||
%service_migrate_to_systemd_post acpid
|
%service_migrate_to_systemd_post acpid
|
||||||
%service_add 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
|
||||||
|
Loading…
Reference in New Issue
Block a user