Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
/var/log/squid/*.log {
2
    weekly
3
    rotate 5
4
    compress
5
    notifempty
6
    missingok
7
    sharedscripts
8
    postrotate
9
      # Asks squid to reopen its logs. (log_rotate 0 is set in squid.conf)
10
      # errors redirected to make it silent if squid is not running
11
      /usr/sbin/squid -k rotate 2>/dev/null
12
      # Wait a little to allow Squid to catch up before the logs is compressed
13
      sleep 1
14
    endscript
15
}