File squid.logrotate of Package squid

/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
}
openSUSE Build Service is sponsored by