summaryrefslogtreecommitdiff
path: root/legacy/busybox/acpid.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/busybox/acpid.logrotate')
-rw-r--r--legacy/busybox/acpid.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/busybox/acpid.logrotate b/legacy/busybox/acpid.logrotate
new file mode 100644
index 000000000..a37763540
--- /dev/null
+++ b/legacy/busybox/acpid.logrotate
@@ -0,0 +1,8 @@
+/var/log/acpid.log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/init.d/acpid --ifstarted restart || true
+ endscript
+}