summaryrefslogtreecommitdiff
path: root/libre/cups-libre/cups.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'libre/cups-libre/cups.logrotate')
-rw-r--r--libre/cups-libre/cups.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/cups-libre/cups.logrotate b/libre/cups-libre/cups.logrotate
new file mode 100644
index 000000000..67c4cdd39
--- /dev/null
+++ b/libre/cups-libre/cups.logrotate
@@ -0,0 +1,9 @@
+/var/log/cups/*log {
+ missingok
+ notifempty
+ delaycompress
+ postrotate
+ /bin/kill -HUP `cat /var/run/cups.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}
+