daemonize - create daemon process
daemonize PATH [ARG...]
daemonize(1) creates a daemon process using the given PATH command and optional ARG.
It fork(2) twice, exec(3) and wait(2) for the child process to terminate to not create zombie.
Exits success if child succeed; exits failure otherwise.
Written by Gaël PORTAY gael.portay@savoirfairelinux.com
Copyright (c) 2017 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.
fork(2), exec(3), wait(2)