summaryrefslogtreecommitdiffstats
path: root/system/clamav/logrotate.clamav
blob: 77c96733009f405c7e011f90cd65180f86ecafba (plain)
/var/log/clamav/*.log {
    su clamav clamav
    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
}