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