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?
1 Answer
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.