From owner-freebsd-ports Mon Jan 29 7:49:23 2001 Delivered-To: freebsd-ports@freebsd.org Received: from abc.123.org (123.org [195.244.241.123]) by hub.freebsd.org (Postfix) with ESMTP id B0E9D37B69C for ; Mon, 29 Jan 2001 07:49:01 -0800 (PST) Received: (from k@localhost) by abc.123.org (8.11.1/8.11.1) id f0TFmqI66557 for ports@FreeBSD.org; Mon, 29 Jan 2001 16:48:52 +0100 (CET) (envelope-from k) Date: Mon, 29 Jan 2001 16:48:52 +0100 From: Kai Voigt To: ports@FreeBSD.org Subject: bind9 startup Message-ID: <20010129164851.A56703@abc.123.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: 123.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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