Daemon howto
Submitted by Patrick Ruckstuhl on Tue, 04/03/2007 - 22:39.On Unix/Linux a daemon is a program that runs in the background independent from the logged in user.
The way to achieve this is normally to directly fork after the execution and let the parent process exit. This results in the child process having lost its parent which leads to the init process automatically inheriting this process.
