Backport daemonizer
Merge pull request #22 from cookpad/daemonizer

Backport daemonizer