Subject: Re: Problems with rc.d at boot time
To: Greg Troxel <>
From: Johnny Billquist <>
List: current-users
Date: 02/10/2004 16:04:03
On Tue, 10 Feb 2004, Greg Troxel wrote:

> I have had issues with programs (notably X under FreeBSD) failing to
> start correctly at boot time from rc.local, and kludged around it with
> something like
> (sleep 60; fooprog &) < /dev/null &> /dev/null &
> so that the SIGHUP that happens when the rc process finishes and the
> console is revoked (I think) doesn't clobber the process.
> I'm not sure what the right answer is.  Arguably daemons should
> daemon(3)ize, and then I think this won't happen.

How about nohup(1)?


Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email:           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol