- run in the background
- not under the control of a user at a terminal.
- When the kernel is bootstrapped it spawns a process called the init process. This process has a ppid of 0 and is the 'grandparent of all processes'. It's the first one and it has no ancestor. Its pid is 1 .
def daemonize_app
if RUBY_VERSION < "1.9"
exit if fork