summaryrefslogtreecommitdiffstats
path: root/clamav/build/logrotate.clamav
blob: a858c87aa28f307b113a42c1e5691508d97e4621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/clamd.log /var/log/freshclam.log {
    su clamav clamav
    weekly
    rotate 5
    compress
    delaycompress
    notifempty
    missingok
    create 0660 clamav clamav
    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
}