LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File squid.logrotate of Package squid (Project server:proxy)

/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
}