diff options
author | Daniele Coli <danielsan.dani@gmail.com> | 2017-04-22 22:32:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-25 08:13:11 +0000 |
commit | 040774a6b048d76975702dc47d0fec40c192fc26 (patch) | |
tree | c28eacc85bcc549b0242e621b2bd4336d823f58f /main/busybox/acpid.logrotate | |
parent | b34a83fe470449a951874948bf4d583b888e6397 (diff) | |
download | aports-040774a6b048d76975702dc47d0fec40c192fc26.tar.bz2 aports-040774a6b048d76975702dc47d0fec40c192fc26.tar.xz |
main/busybox: fixed logrotate script for acpid
Added the check --ifstarted on postrotate script in order to
not start the daemon if it is stopped.
Diffstat (limited to 'main/busybox/acpid.logrotate')
-rw-r--r-- | main/busybox/acpid.logrotate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/busybox/acpid.logrotate b/main/busybox/acpid.logrotate index 5d12331a3d..a377635402 100644 --- a/main/busybox/acpid.logrotate +++ b/main/busybox/acpid.logrotate @@ -3,6 +3,6 @@ notifempty sharedscripts postrotate - /etc/init.d/acpid -q restart + /etc/init.d/acpid --ifstarted restart || true endscript } |