summaryrefslogtreecommitdiff
path: root/pcr/c-icap/c-icap.logrotate
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-20 20:43:39 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-20 20:43:39 +0100
commit2abb02c95a22a6f0d5ef2a51faa7aed4a9c2ed13 (patch)
tree80c847aaaae3c2b29f68b3a5973b98a7f4851f3f /pcr/c-icap/c-icap.logrotate
parent4a9971f37eaf75e779b0c73d307897aeff4e34c9 (diff)
downloadabslibre-2abb02c95a22a6f0d5ef2a51faa7aed4a9c2ed13.tar.gz
abslibre-2abb02c95a22a6f0d5ef2a51faa7aed4a9c2ed13.tar.bz2
abslibre-2abb02c95a22a6f0d5ef2a51faa7aed4a9c2ed13.zip
pcr/c-icap: updated to 0.5.2
Diffstat (limited to 'pcr/c-icap/c-icap.logrotate')
-rw-r--r--pcr/c-icap/c-icap.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/c-icap/c-icap.logrotate b/pcr/c-icap/c-icap.logrotate
new file mode 100644
index 000000000..e84f475c7
--- /dev/null
+++ b/pcr/c-icap/c-icap.logrotate
@@ -0,0 +1,9 @@
+/var/log/c-icap/*.log {
+ create 600 proxy proxy
+ sharedscripts
+ missingok
+ notifempty
+ postrotate
+ /bin/kill -HUP `cat /run/c-icap/c-icap.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}