Merge rotation of logfile and jarfile
[privoxy.git] / debian / logrotate
1 /var/log/privoxy/logfile /var/log/privoxy/jarfile {
2         create 0640 privoxy adm
3         missingok
4         weekly
5         rotate 7
6         compress
7         sharedscripts
8         postrotate
9                 if [ -f /var/run/privoxy.pid ]
10                 then
11                         kill -HUP `cat /var/run/privoxy.pid` > /dev/null
12                 fi
13         endscript
14 }