summaryrefslogtreecommitdiff
path: root/system/cups/cups.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/cups/cups.logrotate')
-rw-r--r--system/cups/cups.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/cups/cups.logrotate b/system/cups/cups.logrotate
new file mode 100644
index 000000000..a50b058a3
--- /dev/null
+++ b/system/cups/cups.logrotate
@@ -0,0 +1,8 @@
+/var/log/cups/*log {
+ missingok
+ notifempty
+ delaycompress
+ postrotate
+ /etc/init.d/cupsd --quiet --ifstarted reload
+ endscript
+}