summaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
blob: 30a122ab22d2d29f66f91c04c2878068541a2c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/clamav/*.log {
    su clamav clamav
    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
}