pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dk-milter/files Make pidfile name match rcvar (wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03780ba6d54a
branches:  trunk
changeset: 497125:03780ba6d54a
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Jul 20 19:51:10 2005 +0000

description:
Make pidfile name match rcvar (without dash).

diffstat:

 mail/dk-milter/files/dk-milter.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r efba4fefb6fa -r 03780ba6d54a mail/dk-milter/files/dk-milter.sh
--- a/mail/dk-milter/files/dk-milter.sh Wed Jul 20 19:47:28 2005 +0000
+++ b/mail/dk-milter/files/dk-milter.sh Wed Jul 20 19:51:10 2005 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: dk-milter.sh,v 1.1.1.1 2005/07/20 19:42:50 tv Exp $
+# $NetBSD: dk-milter.sh,v 1.2 2005/07/20 19:51:10 tv Exp $
 #
 # PROVIDE: dkmilter
 # REQUIRE: DAEMON
@@ -12,7 +12,7 @@
 name="dkmilter"
 rcvar=$name
 command="@PREFIX@/sbin/dk-milter"
-pidfile="/var/run/dk-milter.pid"
+pidfile="/var/run/${name}.pid"
 command_args="-hl -P ${pidfile} -p ${dkmilter_socket-local:/tmp/.dkmilter.sock}"
 
 if [ -f /etc/rc.subr ]; then



Home | Main Index | Thread Index | Old Index