aboutsummaryrefslogtreecommitdiffstats
path: root/community/hd-idle/hd-idle.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/hd-idle/hd-idle.logrotate')
-rw-r--r--community/hd-idle/hd-idle.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/hd-idle/hd-idle.logrotate b/community/hd-idle/hd-idle.logrotate
new file mode 100644
index 00000000000..30b814d7102
--- /dev/null
+++ b/community/hd-idle/hd-idle.logrotate
@@ -0,0 +1,10 @@
+/var/log/hd-idle.log {
+ compress
+ delaycompress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/init.d/hd-idle --quiet --ifstarted restart || true
+ endscript
+}