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