Date: Mon, 10 Feb 2014 12:09:16 +0100 From: Jaap Akkerhuis <jaap@NLnetLabs.nl> To: Iqbal Aroussi <iqbal@aroussi.ca> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: NSD 4.0.1 wont start after upgrad Message-ID: <201402101109.s1AB9Gat045748@bela.nlnetlabs.nl> In-Reply-To: <CAH5Z8-rVVHwdbP_KHgVCeLqiKUhQ=59pqdSRBTjFrGCsYMgraA@mail.gmail.com> References: <CAH5Z8-pzZL9B7a94qim25uHt_pEAfa9X2paD9U5czTbnJnnG=A@mail.gmail.com> <CAH5Z8-rVVHwdbP_KHgVCeLqiKUhQ=59pqdSRBTjFrGCsYMgraA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oops.
Any Suggestions ?
Best Regards
The wrong rc file ended up in the port. Use the one below. A port
revision will be out soon. For the time being use the file below.
Apologies.
jaap
#!/bin/sh
#
# $FreeBSD: head/dns/nsd/files/nsd.in 333569 2013-11-12 13:24:45Z erwin $
#
# PROVIDE: nsd
# REQUIRE: DAEMON
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable nsd:
#
# nsd_enable="YES"
#
: ${nsd_enable="NO"}
. /etc/rc.subr
name=nsd
rcvar=nsd_enable
config=${nsd_config:=/usr/local/etc/nsd/nsd.conf}
required_files=${config}
pidfile=`/usr/local/sbin/nsd-checkconf -o pidfile ${config}`
command="/usr/local/sbin/nsd"
command_args="-c ${required_files}"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402101109.s1AB9Gat045748>
