[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.94.dfsg.2-1-466-ga4903a4
Michael Tautschnig
mt at debian.org
Wed Mar 25 14:10:04 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit d0bfdb1d1f7724ded1f55be9eed6962e3b87303c
Author: Michael Tautschnig <mt at debian.org>
Date: Wed Mar 25 12:47:25 2009 +0100
Ensure that directory for PidFile exists
- Had already been done for supervised mode
Signed-off-by: Michael Tautschnig <mt at debian.org>
diff --git a/debian/clamav-daemon.init.in b/debian/clamav-daemon.init.in
index 93d6a66..d910ced 100644
--- a/debian/clamav-daemon.init.in
+++ b/debian/clamav-daemon.init.in
@@ -66,6 +66,7 @@ make_dir $(dirname "$SUPERVISORPIDFILE")
THEPIDFILE="`grep ^PidFile $CLAMAVCONF | awk '{print $2}'`"
[ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/clamav/clamd.pid'
+make_dir $(dirname "$THEPIDFILE")
if [ -f "$THEPIDFILE" ]; then
CLAMDPID=`pidofproc -p $THEPIDFILE $DAEMON`
diff --git a/debian/clamav-milter.init.in b/debian/clamav-milter.init.in
index 37a47d7..7af19a6 100644
--- a/debian/clamav-milter.init.in
+++ b/debian/clamav-milter.init.in
@@ -57,6 +57,7 @@ make_dir $(dirname "$SUPERVISORPIDFILE")
THEPIDFILE="`grep ^PidFile $CLAMAVMILTERCONF | awk '{print $2}'`"
[ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/clamav/clamav-milter.pid'
+make_dir $(dirname "$THEPIDFILE")
if [ -f "$THEPIDFILE" ]; then
CLAMDPID=`pidofproc -p $THEPIDFILE $DAEMON`
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list