SHA256
1
0
forked from pool/squid
squid/squid.logrotate
2014-11-27 20:53:15 +00:00

29 lines
501 B
Plaintext

/var/log/squid/access.log /var/log/squid/store.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 640 squid root
sharedscripts
postrotate
/usr/bin/systemctl reload squid.service
endscript
}
/var/log/squid/cache.log {
compress
dateext
maxage 365
rotate 99
size=+1024k
notifempty
missingok
create 640 squid root
postrotate
/usr/bin/systemctl reload squid.service
endscript
}