diff options
-rw-r--r-- | mail/dk-milter/files/dk-milter.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/dk-milter/files/dk-milter.sh b/mail/dk-milter/files/dk-milter.sh index ee554e65acc..918e365c887 100644 --- a/mail/dk-milter/files/dk-milter.sh +++ b/mail/dk-milter/files/dk-milter.sh @@ -1,19 +1,21 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dk-milter.sh,v 1.3 2005/07/20 20:03:40 tv Exp $ +# $NetBSD: dk-milter.sh,v 1.4 2005/07/20 20:11:53 tv Exp $ # # PROVIDE: dkmilter # REQUIRE: DAEMON +dkmilter_flags="-h -l -p /var/run/dkmilter.sock" + if [ -f /etc/rc.subr ]; then . /etc/rc.subr fi name="dkmilter" rcvar=$name -command="@PREFIX@/sbin/dk-milter -P ${pidfile}" +command="@PREFIX@/sbin/dk-milter" pidfile="/var/run/${name}.pid" -command_args="-h -l -p /var/run/${name}.sock" +command_args="-P ${pidfile}" if [ -f /etc/rc.subr ]; then load_rc_config $name |