2015-01-02 16:04:06 +01:00
|
|
|
/var/log/squid/access.log /var/log/squid/store.log /var/log/squid/cache.log {
|
2015-01-09 11:36:46 +01:00
|
|
|
su squid squid
|
2012-10-22 21:07:11 +02:00
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+4096k
|
|
|
|
notifempty
|
|
|
|
missingok
|
2015-06-05 00:51:06 +02:00
|
|
|
create 640 squid squid
|
2012-10-22 21:07:11 +02:00
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2015-01-02 16:04:06 +01:00
|
|
|
/usr/bin/systemctl -q is-active squid.service && /usr/sbin/squid -k rotate
|
2012-10-22 21:07:11 +02:00
|
|
|
endscript
|
|
|
|
}
|