summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-07-20 19:51:10 +0000
committertv <tv@pkgsrc.org>2005-07-20 19:51:10 +0000
commit9a3128f4039d3c3cc96214d59df9e69e6bcb4633 (patch)
tree4bcf920e46eab11779935a6729090f3d5c05f737 /mail
parent0e0236f79838b6e19cae6f723a140017e240703a (diff)
downloadpkgsrc-9a3128f4039d3c3cc96214d59df9e69e6bcb4633.tar.gz
Make pidfile name match rcvar (without dash).
Diffstat (limited to 'mail')
-rw-r--r--mail/dk-milter/files/dk-milter.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/dk-milter/files/dk-milter.sh b/mail/dk-milter/files/dk-milter.sh
index df8704a2b03..54d25ca7a2d 100644
--- a/mail/dk-milter/files/dk-milter.sh
+++ b/mail/dk-milter/files/dk-milter.sh
@@ -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 @@ fi
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