diff options
Diffstat (limited to 'extra/clamav/logrotate')
-rw-r--r-- | extra/clamav/logrotate | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/clamav/logrotate b/extra/clamav/logrotate index 6a9051bed..5f6d87d29 100644 --- a/extra/clamav/logrotate +++ b/extra/clamav/logrotate @@ -1,8 +1,10 @@ /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 + create 644 clamav clamav + sharedscripts + missingok + notifempty + 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 } |