Date: Wed, 15 Aug 2001 13:58:48 -0700 From: "Kevin Oberman" <oberman@es.net> To: Martin McCormick <martin@dc.cis.okstate.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best Recommended Practice for Starting Daemons During Boot Message-ID: <200108152058.f7FKwmR25542@ptavv.es.net> In-Reply-To: Your message of "Wed, 15 Aug 2001 14:58:17 CDT." <E15X6nx-0001rc-00@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 15 Aug 2001 14:58:17 -0500 > From: Martin McCormick <martin@dc.cis.okstate.edu> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108152058.f7FKwmR25542>