Hacker News new | ask | show | jobs
by gilgad13 2117 days ago
My understanding was that the double fork dance was actively discouraged for any semi-modern system. The man page you link says as much in the "new-style" section, as well as https://jdebp.eu/FGA/unix-daemon-design-mistakes-to-avoid.ht....

Just write your server as a straightforward process and let the service manager handle this stuff for you. You'll just be confusing it if you don't.