summaryrefslogtreecommitdiff
path: root/network/pound/pound.logrotate
diff options
context:
space:
mode:
authorThales A. Tsailas <ttsailas@enforcingit.com>2010-05-11 22:55:00 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:55:00 +0200
commit1565510862c21b63891da958d258f1e593aa5667 (patch)
tree87d1183e240784161a0afc0e9af940b7e90bc51c /network/pound/pound.logrotate
parent7edc12b3babd6607640bc52a200e99deab8d219e (diff)
downloadslackbuilds-1565510862c21b63891da958d258f1e593aa5667.tar.gz
network/pound: Added to 12.1 repository
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
+}
+
+