summaryrefslogtreecommitdiff
path: root/testing/clamav/logrotate
blob: 6a9051bed5f3888cf17043278ec09597fda5dea7 (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 /run/clamav/clamd.pid 2>/dev/null` 2> /dev/null || true
            /bin/kill -HUP `cat /run/clamav/freshclam.pid 2>/dev/null` 2> /dev/null || true
    endscript
}