summaryrefslogtreecommitdiff
path: root/pcr/c-icap/logrotate
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-28 03:28:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-28 03:28:23 -0300
commit4c0ead787d0a9e1b3fde331e17f7743ede8fcb77 (patch)
tree9018770de2f1c7b48a4d958ac7af6021a7354483 /pcr/c-icap/logrotate
parenta69e43e17d55e6bd2c2af1d7ce9e35c2e1d2b989 (diff)
c-icap: add new package to [pcr]
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
+}