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