summaryrefslogtreecommitdiffstats
path: root/system/clamav/logrotate.clamav
blob: 29b860baa08d6405428509998a3fa14e29baac87 (plain)
/var/log/clamav/*.log {
    weekly
    rotate 5
    compress
    delaycompress
    notifempty
    missingok
    su clamav clamav
    postrotate
    /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
    endscript
}