summaryrefslogtreecommitdiff
path: root/network/pound/pound.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/pound/pound.logrotate')
-rw-r--r--network/pound/pound.logrotate23
1 files changed, 23 insertions, 0 deletions
diff --git a/network/pound/pound.logrotate b/network/pound/pound.logrotate
new file mode 100644
index 0000000000..17f3cf3306
--- /dev/null
+++ b/network/pound/pound.logrotate
@@ -0,0 +1,23 @@
+
+/var/pound/access.log {
+ weekly
+ rotate 4
+ compress
+ notifempty
+ postrotate
+ /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
+ endscript
+}
+
+/var/pound/error.log {
+ weekly
+ rotate 4
+ compress
+ notifempty
+ missingok
+ postrotate
+ /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
+ endscript
+}
+
+