summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-03-27 10:02:10 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-03-27 10:02:10 +0000
commit6349c85fecec9a67af28ec9cdb613be046a32ef1 (patch)
tree8cef2df976615720ebbae3eb4f0772ebf8089bcd /app-antivirus/clamav/files
parentDrop my primary maintainer status (diff)
downloadhistorical-6349c85fecec9a67af28ec9cdb613be046a32ef1.tar.gz
historical-6349c85fecec9a67af28ec9cdb613be046a32ef1.tar.bz2
historical-6349c85fecec9a67af28ec9cdb613be046a32ef1.zip
Also reload clamd/freshclam from logrotate script.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'app-antivirus/clamav/files')
-rw-r--r--app-antivirus/clamav/files/clamav.logrotate2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-antivirus/clamav/files/clamav.logrotate b/app-antivirus/clamav/files/clamav.logrotate
index 8c4916470b48..12c77e020c28 100644
--- a/app-antivirus/clamav/files/clamav.logrotate
+++ b/app-antivirus/clamav/files/clamav.logrotate
@@ -2,6 +2,7 @@
missingok
postrotate
/etc/init.d/clamd logfix
+ /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2>/dev/null || true
endscript
}
@@ -9,5 +10,6 @@
missingok
postrotate
/etc/init.d/clamd logfix
+ /bin/kill -HUP `cat /var/run/clamav/freshclam.pid 2> /dev/null` 2>/dev/null || true
endscript
}