summaryrefslogtreecommitdiff
path: root/pcr/cherokee/cherokee.logrotate
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-12 03:48:35 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-12 03:48:35 -0200
commit76afcfaaa93dee10bb3c372bb1b4a96948e45974 (patch)
tree8582394dd2e8952d516c5d30507872d6c41f8aa7 /pcr/cherokee/cherokee.logrotate
parent85a382cc1a220a2c65172fabab76a021d1dcd8e6 (diff)
cherokee: add new package to pcr repo
Diffstat (limited to 'pcr/cherokee/cherokee.logrotate')
-rw-r--r--pcr/cherokee/cherokee.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/cherokee/cherokee.logrotate b/pcr/cherokee/cherokee.logrotate
new file mode 100644
index 000000000..19207fd02
--- /dev/null
+++ b/pcr/cherokee/cherokee.logrotate
@@ -0,0 +1,9 @@
+/var/log/cherokee/*.error /var/log/cherokee/*.access {
+ daily
+ rotate 14
+ compress
+ sharedscripts
+ postrotate
+ /bin/kill -HUP `cat /var/run/cherokee.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}