aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/acpid.logrotate
diff options
context:
space:
mode:
authorDaniele Coli <danielsan.dani@gmail.com>2017-04-22 22:32:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-25 08:13:11 +0000
commit040774a6b048d76975702dc47d0fec40c192fc26 (patch)
treec28eacc85bcc549b0242e621b2bd4336d823f58f /main/busybox/acpid.logrotate
parentb34a83fe470449a951874948bf4d583b888e6397 (diff)
downloadaports-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.logrotate2
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
}