Talk:Nohup

From Wikipedia, the free encyclopedia

Isn't nohup in that fetchmail example superfluous since -d actually makes it a real daemon? 70.82.141.92

Yes, because fetchmail registers its own signal handler for SIGHUP – this is mentioned in the man page. nohup is only useful when the default signal handler would otherwise be used, terminating the process.   — Lee J Haywood 21:15, 10 November 2005 (UTC)
Well, not only that; the main difference is that fetchmail -d already is a DAEMON, so it won't get any SIGHUP automatically because it'll detach from the controlling terminal and run in its own session (calls setsid(2)). This is different from how nohup(1) works. 70.82.141.92 02:35, 14 November 2005 (UTC)

ANd here's some extra nohup weirdness. 70.82.141.92