2 ms·
There is another reason for a service to daemonize itself: you can have the parent process wait for the child to be fully ready before exiting. Modern init sys
by thayne 2y ago
There is another reason for a service to daemonize itself: you can have the parent process wait for the child to be fully ready before exiting. Modern init systems often have a better way to communicate readiness (for example systemd-notify, or writing a pidfile when ready) but older systems often didn't have a way for a process to directory tell the init process it was ready.