summaryrefslogtreecommitdiff
path: root/libre/clamav/logrotate
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-24 12:17:41 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-06-24 12:17:41 -0500
commit08400b9232fa9d80b800abe951403329b4292dcb (patch)
tree806425854d0498dfa9d7c9920ad688bec2d7746a /libre/clamav/logrotate
parent6f1180f35fee220f92044e8f8a0a220ff308b295 (diff)
clamav: add new package to [libre]
Diffstat (limited to 'libre/clamav/logrotate')
-rw-r--r--libre/clamav/logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre/clamav/logrotate b/libre/clamav/logrotate
new file mode 100644
index 000000000..5f6d87d29
--- /dev/null
+++ b/libre/clamav/logrotate
@@ -0,0 +1,10 @@
+/var/log/clamav/clamd.log /var/log/clamav/freshclam.log {
+ 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
+}