From owner-freebsd-questions Wed Aug 15 13:58:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 2A28437B405 for ; Wed, 15 Aug 2001 13:58:52 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f7FKwmR25542; Wed, 15 Aug 2001 13:58:48 -0700 (PDT) Message-Id: <200108152058.f7FKwmR25542@ptavv.es.net> To: Martin McCormick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best Recommended Practice for Starting Daemons During Boot In-reply-to: Your message of "Wed, 15 Aug 2001 14:58:17 CDT." Date: Wed, 15 Aug 2001 13:58:48 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Wed, 15 Aug 2001 14:58:17 -0500 > From: Martin McCormick > Sender: owner-freebsd-questions@FreeBSD.ORG > > I have installed the ISC dhcp server on a FreeBSD system > and it appears to work so I am trying to get the startup command > included in the boot procedures. > > I followed the same pattern in rc.conf as is used by > named and ntpd but nothing happened. The documentation says that > rc.conf is not meant to start the daemons but supplies values to > the variables used in other scripts like rc.network. I also saw > a reference to rc.d and the system kindly creates a rc.d > directory in /usr/local/etc. > > What is the most elegant way to start a daemon that has > been added after system installation? If you install DHCP from the port (/usr/ports/net/isc-dhcp3), it will put a sample start-up file in the correct place, /usr/local/etc/rc.d/isc-dhcpd.sh.sample. Just edit it as needed (I had to make a one line change) and save it as /usr/local/etc/rc.d/isc-dhcpd.sh. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message