What is technically the difference of a process that started in foreground and was manually put into background and a daemon? Do they have different properties?
Asked
Active
Viewed 6,030 times
6
-
Related Question: http://unix.stackexchange.com/questions/56495/whats-the-difference-between-running-a-program-as-a-daemon-and-forking-it-into?rq=1 – Karlson Nov 22 '13 at 16:03
1 Answers
5
You can take a look at the definition of a Daemon, which tells you what the properties of a daemon are, so biggest ones are:
- No Controlling Terminal - STDIN, STDOUT, STDERR associated with starting terminal are redirected.
- Parent Process is set to
init
- Daemon is a Process Group Leader.

Karlson
- 5,875