diff options
author | tv <tv> | 2005-07-20 19:51:10 +0000 |
---|---|---|
committer | tv <tv> | 2005-07-20 19:51:10 +0000 |
commit | 1f03d03b22cbe1b25edd59eefd26916783d097e4 (patch) | |
tree | 4bcf920e46eab11779935a6729090f3d5c05f737 /mail | |
parent | 4f8c837df0823bf9d30f98220b71496ee88e82d6 (diff) | |
download | pkgsrc-1f03d03b22cbe1b25edd59eefd26916783d097e4.tar.gz |
Make pidfile name match rcvar (without dash).
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dk-milter/files/dk-milter.sh | 4 |
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 |