summaryrefslogtreecommitdiff
path: root/pcr/c-icap/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/c-icap/logrotate')
-rw-r--r--pcr/c-icap/logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/c-icap/logrotate b/pcr/c-icap/logrotate
new file mode 100644
index 000000000..e84f475c7
--- /dev/null
+++ b/pcr/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
+}