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
commit8496fae9e86f27ce25851e2192e9a2f55a364873 (patch)
tree366b3f27ad1f59d2a7e77b5af8562427181cd84e /app-antivirus
parentDrop my primary maintainer status (diff)
downloadgentoo-2-8496fae9e86f27ce25851e2192e9a2f55a364873.tar.gz
gentoo-2-8496fae9e86f27ce25851e2192e9a2f55a364873.tar.bz2
gentoo-2-8496fae9e86f27ce25851e2192e9a2f55a364873.zip
Also reload clamd/freshclam from logrotate script.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog5
-rw-r--r--app-antivirus/clamav/files/clamav.logrotate2
2 files changed, 6 insertions, 1 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index c258946b063f..ee0bd819cdd0 100644
--- a/app-antivirus/clamav/ChangeLog
+++ b/app-antivirus/clamav/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-antivirus/clamav
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.216 2007/03/25 19:25:17 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.217 2007/03/27 10:02:10 ticho Exp $
+
+ 27 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamav.logrotate:
+ Also reload clamd/freshclam from logrotate script.
25 Mar 2007; Andrej Kacian <ticho@gentoo.org> files/clamav.logrotate,
files/clamd.rc:
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
}