summaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
blob: 0f9e3cfb9f6bba69c511722c5b4e6f3284148809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/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
    /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2>/dev/null` 2>/dev/null || true
    endscript
}