summaryrefslogtreecommitdiff
path: root/staging/cups/cups.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
committerroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
commit693b5793b8c615601135bc04216a2ca0966087c5 (patch)
tree1c1cf0bc5020b0226efff0b39c7847b3414efaa6 /staging/cups/cups.logrotate
parent19f42937be8f6619a85663cb71e24c05b7e8b6d2 (diff)
Fri Apr 29 22:32:36 UTC 2011
Diffstat (limited to 'staging/cups/cups.logrotate')
-rw-r--r--staging/cups/cups.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/staging/cups/cups.logrotate b/staging/cups/cups.logrotate
new file mode 100644
index 000000000..9c49bbdaf
--- /dev/null
+++ b/staging/cups/cups.logrotate
@@ -0,0 +1,8 @@
+/var/log/cups/*log {
+ missingok
+ notifempty
+ delaycompress
+ postrotate
+ /bin/kill -HUP `cat /var/run/cups.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}