summaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
blob: 8154a8ba4eb018f5b4828cbd2193943f75af2be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
/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
}