Skip site navigation (1)Skip section navigation (2)
Date:      01 Mar 1999 00:41:51 +0100
From:      Kai.Grossjohann@CS.Uni-Dortmund.DE
To:        freebsd-questions@freebsd.org
Subject:   Restarting daemon started from /etc/rc*?
Message-ID:  <86btiem6yo.fsf@slowfox.frob.org>

next in thread | raw e-mail | index | archive | help
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?

kai
-- 
I like _b_o_t_h kinds of music.


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?86btiem6yo.fsf>