Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 12:20:17 -0500
From:      Barney Wolff <barney@databus.com>
To:        Andrea Venturoli <ml.ventu@flashnet.it>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Two ISP connections
Message-ID:  <20031211172017.GA9970@pit.databus.com>
In-Reply-To: <200312111251.hBBCpIb8069100@soth.ventu>
References:  <200312111251.hBBCpIb8069100@soth.ventu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 11, 2003 at 01:51:20PM -0500, Andrea Venturoli wrote:
> ** Reply to note from Barney Wolff <barney@databus.com> Wed, 10 Dec 2003 20:39:28 -0500
> 
> 
> > Things started from /usr/local/etc/rc.d get a hup signal when rc is finished 
> > with all the startup scripts - I think.  Anyway, if you don't use nohup, 
> > or a more-conventional way to daemonize what you've started, it will die 
> > mysteriously in a very short time.  I've never seen anybody else use nohup 
> > for this purpose but it works just fine on both 4.x and 5.x. 
> 
> Are you sure?
> I never heard anything like that and I never used nohup before...
> Maybe net is not the right place to discuss this, though.

You're welcome to try not doing it and see how it works.
If you don't like nohup, man perlfaq8 and look at the answer
to "How can I fork a daemon process?" - or look it up in Stevens'
Unix Network Programming.

I am *not* sure that it's HUP, but my experience is that processes get
something fatal quickly, and nohup prevents it.

Regards,
Barney

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211172017.GA9970>