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