diff options
Diffstat (limited to 'libre/clamav/clamav.logrotate')
-rw-r--r-- | libre/clamav/clamav.logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/clamav/clamav.logrotate b/libre/clamav/clamav.logrotate new file mode 100644 index 000000000..d8564b64c --- /dev/null +++ b/libre/clamav/clamav.logrotate @@ -0,0 +1,11 @@ +/var/log/clamav/clamd.log /var/log/clamav/freshclam.log /var/log/clamav/clamav-milter.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 + /bin/kill -HUP `cat /run/clamav/clamav-milter.pid 2>/dev/null` 2> /dev/null || true + endscript +} |