summaryrefslogtreecommitdiff
path: root/extra/clamav/clamav.logrotate
blob: d1dc94dce0658c167f34eb03698c36af67d8a2f5 (plain)
1
2
3
4
5
6
7
8
/var/log/clamav/clamd.log /var/log/clamav/freshclam.log {
    create 644 clamav clamav
    sharedscripts
    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
}