Hacker News new | ask | show | jobs
by tmoertel 844 days ago
To make daemons easier to write, more uniform, and secure, djb created https://cr.yp.to/daemontools.html and used it for many of his projects

In the corresponding FAQ list, he says this about daemons that detach themselves:

> How can I supervise a daemon that puts itself into the background? When I run inetd, my shell script exits immediately, so supervise keeps trying to restart it.

> Answer: The best answer is to fix the daemon. Having every daemon put itself into the background is bad software design.