summaryrefslogtreecommitdiff
path: root/extra/clamav/logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-24 01:48:51 -0700
committerroot <root@rshg054.dnsready.net>2013-07-24 01:48:51 -0700
commitf4264e218200b57dd39b57531ba086d107e967b5 (patch)
tree629956f80b884c469cec9086e9af554e304bc1ae /extra/clamav/logrotate
parent1716a100d147ef9079e1e52eb74040579a00c2ad (diff)
Wed Jul 24 01:48:49 PDT 2013
Diffstat (limited to 'extra/clamav/logrotate')
-rw-r--r--extra/clamav/logrotate14
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
}