c445b93
/var/log/squid/*.log {
cvsdist 8d13385
    weekly
cvsdist 8d13385
    rotate 5
cvsdist 8d13385
    compress
cvsdist 8d13385
    notifempty
cvsdist 8d13385
    missingok
bd8419e
    nocreate
a3a8a5e
    sharedscripts
cvsdist 8d13385
    postrotate
dc7c9c2
      # Asks squid to reopen its logs. (logfile_rotate 0 is set in squid.conf)
43af784
      # errors redirected to make it silent if squid is not running
43af784
      /usr/sbin/squid -k rotate 2>/dev/null
a3a8a5e
      # Wait a little to allow Squid to catch up before the logs is compressed
a3a8a5e
      sleep 1
cvsdist 8d13385
    endscript
cvsdist 8d13385
}