aboutsummaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-09-23 12:24:45 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-23 12:24:45 -0300
commit6eb187c4a49e24c7073c9bc0739bb0bdc2af0973 (patch)
tree04e4c334e7bdf7bf9c379336637347da8275329b /system/clamav/logrotate.clamav
parente88a3ceca0552f36fe086554483239aa223a14a8 (diff)
system/clamav: Updated for version 0.97.2 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/clamav/logrotate.clamav')
-rw-r--r--system/clamav/logrotate.clamav11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav
new file mode 100644
index 000000000000..8154a8ba4eb0
--- /dev/null
+++ b/system/clamav/logrotate.clamav
@@ -0,0 +1,11 @@
+/var/log/clamav/*.log {
+ weekly
+ rotate 5
+ compress
+ delaycompress
+ notifempty
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}