summarylogtreecommitdiffstats
path: root/privoxy.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'privoxy.logrotate')
-rw-r--r--privoxy.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/privoxy.logrotate b/privoxy.logrotate
new file mode 100644
index 000000000000..c3d68656724f
--- /dev/null
+++ b/privoxy.logrotate
@@ -0,0 +1,9 @@
+/var/log/privoxy/privoxy.log {
+ missingok
+ notifempty
+ create 0640 privoxy privoxy
+ compress
+ postrotate
+ killall -HUP privoxy 2>/dev/null || true
+ endscript
+}