summaryrefslogtreecommitdiff
path: root/mail/dk-milter
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-07-20 20:03:40 +0000
committertv <tv@pkgsrc.org>2005-07-20 20:03:40 +0000
commit2334d3614e1f201a4245d11268076990f0104e1c (patch)
treeecebdeaf48b2a030936564223b5504a00caca6ef /mail/dk-milter
parent9a3128f4039d3c3cc96214d59df9e69e6bcb4633 (diff)
downloadpkgsrc-2334d3614e1f201a4245d11268076990f0104e1c.tar.gz
one more quickfix: default socket to /var/run so Sendmail's happy
Diffstat (limited to 'mail/dk-milter')
-rw-r--r--mail/dk-milter/files/dk-milter.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/dk-milter/files/dk-milter.sh b/mail/dk-milter/files/dk-milter.sh
index 54d25ca7a2d..ee554e65acc 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.2 2005/07/20 19:51:10 tv Exp $
+# $NetBSD: dk-milter.sh,v 1.3 2005/07/20 20:03:40 tv Exp $
#
# PROVIDE: dkmilter
# REQUIRE: DAEMON
@@ -11,9 +11,9 @@ fi
name="dkmilter"
rcvar=$name
-command="@PREFIX@/sbin/dk-milter"
+command="@PREFIX@/sbin/dk-milter -P ${pidfile}"
pidfile="/var/run/${name}.pid"
-command_args="-hl -P ${pidfile} -p ${dkmilter_socket-local:/tmp/.dkmilter.sock}"
+command_args="-h -l -p /var/run/${name}.sock"
if [ -f /etc/rc.subr ]; then
load_rc_config $name