automatic version update by autodist [release 3.3.11-1mamba;Tue Dec 03 2013]
This commit is contained in:
31
squid-logrotate
Normal file
31
squid-logrotate
Normal file
@@ -0,0 +1,31 @@
|
||||
/var/log/squid/access.log {
|
||||
weekly
|
||||
rotate 5
|
||||
copytruncate
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
||||
/var/log/squid/cache.log {
|
||||
weekly
|
||||
rotate 5
|
||||
copytruncate
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
||||
|
||||
/var/log/squid/store.log {
|
||||
weekly
|
||||
rotate 5
|
||||
copytruncate
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
# This script asks squid to rotate its logs on its own.
|
||||
# Restarting squid is a long process and it is not worth
|
||||
# doing it just to rotate logs
|
||||
postrotate
|
||||
/usr/sbin/squid -k rotate
|
||||
endscript
|
||||
}
|
Reference in New Issue
Block a user