aboutsummaryrefslogtreecommitdiffstats
path: root/x11/cups/cups.logrotate
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-14 09:19:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-14 09:34:02 +0000
commitea12c0a24156e7a3452ddfddd20240269e5a9af3 (patch)
treefbca89fda405f5e91265cdd2f9f4488ca1d541b6 /x11/cups/cups.logrotate
parentbcf07ed9367276cc21d4db39144dd936c14ebb39 (diff)
downloadaports-ea12c0a24156e7a3452ddfddd20240269e5a9af3.tar.bz2
aports-ea12c0a24156e7a3452ddfddd20240269e5a9af3.tar.xz
x11/cups: new aport
The CUPS Printing System http://www.cups.org/
Diffstat (limited to 'x11/cups/cups.logrotate')
-rw-r--r--x11/cups/cups.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/cups/cups.logrotate b/x11/cups/cups.logrotate
new file mode 100644
index 0000000000..9c49bbdaff
--- /dev/null
+++ b/x11/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
+}