[Gllug] Starting a daemon
Andy Millar
andy at andymillar.co.uk
Thu Dec 30 14:38:33 UTC 2010
On Thu, 2010-12-30 at 14:16 +0000, John G Walker wrote:
> Thanks for the quote from the disown manual. I still can't work out,
> however, the difference between what you've suggested here and thye use
> of setsid. Nor do i understand what disown would achieve (which is
> perhaps the word I should have used) if I've used nohup.
>
> Sorry if I'm being a bit dense,
>
> --
> All the best,
> John
All roughly the same...
disown: ignore HUP of a backgrounded job
nohup: ignore HUP, stdin,stdout are redirected to nohup.out, modify
process priority.
setsid: create a new session to run the process.
Andy
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list