summaryrefslogtreecommitdiff
path: root/community-testing/privoxy/privoxy.logrotate.d
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
committerroot <root@rshg054.dnsready.net>2012-08-31 00:04:43 +0000
commit68cdc08aec92abf91448a542e06fabbedbb583bf (patch)
tree2c42e2f29a6162e0cb5ff3db8f0b46277ab4ed90 /community-testing/privoxy/privoxy.logrotate.d
parentdba5b0127d9f00a13c489f0f5893481cbe7d429b (diff)
Fri Aug 31 00:04:43 UTC 2012
Diffstat (limited to 'community-testing/privoxy/privoxy.logrotate.d')
-rw-r--r--community-testing/privoxy/privoxy.logrotate.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/community-testing/privoxy/privoxy.logrotate.d b/community-testing/privoxy/privoxy.logrotate.d
new file mode 100644
index 000000000..8c3129024
--- /dev/null
+++ b/community-testing/privoxy/privoxy.logrotate.d
@@ -0,0 +1,8 @@
+/var/log/privoxy/logfile {
+ create 660 root privoxy
+ notifempty
+ compress
+ postrotate
+ /bin/kill -HUP `cat /var/run/privoxy.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}