summaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko@maimed.org>2012-10-09 21:55:55 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-11-04 09:53:47 -0500
commit86b39d72bd68e732f9d0e5356b0e382fdb68e1b5 (patch)
treed87b0b647133b4c8d48e459c1dabfe8e27808fca /system/clamav/logrotate.clamav
parentedfe34bebc6cb3f78517d0c6c57223ca33b8ac0d (diff)
downloadslackbuilds-86b39d72bd68e732f9d0e5356b0e382fdb68e1b5.tar.gz
system/clamav: Fixed logging location of freshclam in rc.clamav.
Send SIGHUP to freshclam too in the logrotate script Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/clamav/logrotate.clamav')
-rw-r--r--system/clamav/logrotate.clamav1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav
index 30a122ab22..0f9e3cfb9f 100644
--- a/system/clamav/logrotate.clamav
+++ b/system/clamav/logrotate.clamav
@@ -8,5 +8,6 @@
missingok
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true
+ /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2>/dev/null` 2>/dev/null || true
endscript
}