pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/clamav/files Make sure the socket file is removed...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dece4bf9021e
branches: trunk
changeset: 471689:dece4bf9021e
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Mar 30 00:32:29 2004 +0000
description:
Make sure the socket file is removed before starting clamd, as suggested
by Piotr Stolc in PR pkg/24644.
diffstat:
mail/clamav/files/clamd.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r ba164409905f -r dece4bf9021e mail/clamav/files/clamd.sh
--- a/mail/clamav/files/clamd.sh Tue Mar 30 00:29:59 2004 +0000
+++ b/mail/clamav/files/clamd.sh Tue Mar 30 00:32:29 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: clamd.sh,v 1.1 2004/02/02 00:00:48 recht Exp $
+# $NetBSD: clamd.sh,v 1.2 2004/03/30 00:32:29 xtraeme Exp $
#
# clamd does anti-virus checking.
#
@@ -33,6 +33,7 @@
clamd_precmd()
{
+ @RM@ -f ${socket}
@TOUCH@ ${pidfile}
@CHOWN@ ${clamd_user} ${pidfile}
}
Home |
Main Index |
Thread Index |
Old Index