aboutsummaryrefslogtreecommitdiffstats
path: root/community/clamav/freshclam.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/clamav/freshclam.logrotate')
-rw-r--r--community/clamav/freshclam.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/clamav/freshclam.logrotate b/community/clamav/freshclam.logrotate
new file mode 100644
index 0000000000..18117eeb2a
--- /dev/null
+++ b/community/clamav/freshclam.logrotate
@@ -0,0 +1,7 @@
+/var/log/clamav/freshclam.log {
+ missingok
+ postrotate
+ /etc/init.d/freshclam --quiet logfix
+ /etc/init.d/freshclam --quiet --ifstarted reload
+ endscript
+}