Date: Sun, 28 Feb 1999 18:41:36 -0600 From: Nathan Ahlstrom <nrahlstr@winternet.com> To: Kai.Grossjohann@CS.Uni-Dortmund.DE, freebsd-questions@FreeBSD.ORG Subject: Re: Restarting daemon started from /etc/rc*? Message-ID: <19990228184136.B12098@winternet.com> In-Reply-To: <86btiem6yo.fsf@slowfox.frob.org>; from Kai.Grossjohann@CS.Uni-Dortmund.DE on Mon, Mar 01, 1999 at 12:41:51AM %2B0100 References: <86btiem6yo.fsf@slowfox.frob.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kai.Grossjohann@CS.Uni-Dortmund.DE wrote: > I think one thing which is nice about SysVile is the fact that one can > easily start and stop daemons which are usually run at system startup. > Suppose the foo daemon has died for some reason, then I just do "cd > /etc/init.d ; ./foo stop ; ./foo start" to restart it. > > There seems to be no similar mechanism for FreeBSD. Many daemons do > useful things when sent a HUP signal, but suppose the process has > disappeared for some reason? > > I was bitten by this when playing around with my isdnd configuration. > I was almost happy when I discovered that isdnd will reread its config > file when sent a SIGHUP, but then I made a little typo in isdnd.rc and > the SIGHUP made isdnd disappear :-( > > There seems to be no simple way to start isdnd with the right > parameters once it has disappeared. > > Have I overlooked something, or have I found an area which could be > improved on in FreeBSD? Yes, you have found an area which could be improved. See http://www.freebsd.org/~eivind/newrc.html Nathan -- Nathan Ahlstrom nrahlstr@winternet.com http://www.FreeBSD.org/ 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?19990228184136.B12098>