Daemonization fixed

See updated docs for details.