NSD 4.0.1 wont start after upgrad

Jaap Akkerhuis jaap at NLnetLabs.nl
Mon Feb 10 11:09:25 UTC 2014


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"



More information about the freebsd-questions mailing list