16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
|
/var/log/squid/access.log /var/log/squid/store.log /var/log/squid/cache.log {
|
||
|
su squid squid
|
||
|
compress
|
||
|
dateext
|
||
|
maxage 365
|
||
|
rotate 99
|
||
|
size=+4096k
|
||
|
notifempty
|
||
|
missingok
|
||
|
create 640 squid squid
|
||
|
sharedscripts
|
||
|
postrotate
|
||
|
/usr/bin/systemctl -q is-active squid.service && /usr/sbin/squid -k rotate
|
||
|
endscript
|
||
|
}
|