Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 16:48:52 +0100
From:      Kai Voigt <k@123.org>
To:        ports@FreeBSD.org
Subject:   bind9 startup
Message-ID:  <20010129164851.A56703@abc.123.org>

next in thread | raw e-mail | index | archive | help
Hello,

how to start the bind9 port at system startup?  I set named_enable to "NO"
in /etc/rc.conf and created a /usr/local/etc/rc.d/named.sh script:

#!/bin/sh

case "$1" in
  start)
    /usr/local/sbin/named -c /etc/namedb/named.conf
    ;;
  stop)
    kill `cat /var/run/named.pid`
    ;;
  *)
    echo ""
    echo "Usage: `basename $0` { start | stop }"
    echo ""
    exit 64
    ;;
esac

I was wondering why such a script wasn't installed by the port.  Or am
I missing something and bind9 is started in another way?

Kai

-- 
kai voigt   dreiecksplatz 8   24105 kiel   0431-22199869   http://k.123.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010129164851.A56703>