Add changes from 3.0.6-2, 3.0.6-3 and several unreleased changes
[privoxy.git] / debian / logrotate
1 /var/log/privoxy/logfile /var/log/privoxy/jarfile /var/log/privoxy/errorfile {
2         create 0640 privoxy adm
3         missingok
4         weekly
5         rotate 7
6         compress
7         sharedscripts
8         postrotate
9                 if [ -x /usr/sbin/invoke-rc.d ]; then
10                         invoke-rc.d privoxy restart > /dev/null
11                 else
12                         if [ -f /var/run/privoxy.pid ]; then
13                                 /etc/init.d/privoxy restart > /dev/null
14                         fi
15                 fi
16         endscript
17 }