summaryrefslogtreecommitdiff
path: root/~mtjm/cups-usblp/cups.logrotate
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-23 18:59:38 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-23 18:59:38 +0100
commit83fee57a9a83eaeed4e7ff8f272ef56881669174 (patch)
tree1e84c317f09e77d46973f6aa46bb3b7cb3a15439 /~mtjm/cups-usblp/cups.logrotate
parent937e299ee44ba8f8fc07ea3f03229a2139b8bef9 (diff)
downloadabslibre-83fee57a9a83eaeed4e7ff8f272ef56881669174.tar.gz
abslibre-83fee57a9a83eaeed4e7ff8f272ef56881669174.tar.bz2
abslibre-83fee57a9a83eaeed4e7ff8f272ef56881669174.zip
Add cups-usblp based on cups-libre.
Diffstat (limited to '~mtjm/cups-usblp/cups.logrotate')
-rw-r--r--~mtjm/cups-usblp/cups.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/~mtjm/cups-usblp/cups.logrotate b/~mtjm/cups-usblp/cups.logrotate
new file mode 100644
index 000000000..9c49bbdaf
--- /dev/null
+++ b/~mtjm/cups-usblp/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
+}