aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/clamd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/clamav/clamd.logrotate')
-rw-r--r--main/clamav/clamd.logrotate11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/clamav/clamd.logrotate b/main/clamav/clamd.logrotate
index 3d7fc79cad..dc0f5ca38e 100644
--- a/main/clamav/clamd.logrotate
+++ b/main/clamav/clamd.logrotate
@@ -1,8 +1,7 @@
/var/log/clamav/clamd.log {
- missingok
- postrotate
- /etc/init.d/clamd logfix
- /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2>/dev/null || true
- endscript
+ missingok
+ postrotate
+ /etc/init.d/clamd --quiet logfix
+ /etc/init.d/clamd --quiet --ifstarted reload
+ endscript
}
-