[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rc.d and non daemon servers
On Wed, 4 Mar 2009 08:40:49 +0000
Emmanuel Dreyfus <manu%NetBSD.org@localhost> wrote:
> What is the preferred way, from a rc.d startup script, for dealing
> with a server that does not fork in the background?
> Shall I start it with nohup /usr/local/bin/foo & ?
> Or is there a nicer alternative?
I've always used &. I wonder, though, if someone should write a
daemon(8) that would simply call daemon(1) and then exec its arguments.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Main Index |
Thread Index |