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