- touch /etc/privoxy/config
- endscript
-}
-
-/var/log/privoxy/jarfile {
- create 0640 privoxy adm
- missingok
- weekly
- rotate 7
- compress
- postrotate
- touch /etc/privoxy/config
+ if which invoke-rc.d >/dev/null 2>&1; then
+ invoke-rc.d privoxy rotate > /dev/null
+ else
+ if [ -f /run/privoxy.pid ]; then
+ /etc/init.d/privoxy rotate > /dev/null
+ fi
+ fi