aboutsummaryrefslogtreecommitdiffstats
path: root/main/privoxy/privoxy.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/privoxy/privoxy.logrotate')
-rw-r--r--main/privoxy/privoxy.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/privoxy/privoxy.logrotate b/main/privoxy/privoxy.logrotate
new file mode 100644
index 0000000000..aa7463bd57
--- /dev/null
+++ b/main/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
+}