mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
15 lines
314 B
Text
15 lines
314 B
Text
/var/log/squid/*.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
|
|
}
|