Re:You don't need to daemonize
by icebraining on Sunday June 28, 2015 @04:15PM
(#9794898)
Usually these daemon managers detect when the process is dying right after starting up and indicate that with a message like "[process] is respawning too fast". Besides, there are always logs.
[ Parent
| on HN ]
But that's not a way to detect service failure. That's a way to detect potential service failure. The only unambiguous failure notification is the return code.
Re:You don't need to daemonize
by icebraining on Sunday June 28, 2015 @06:41PM
(#9795402)
Yes, which systemd will also display, and you can configure it to handle it differently (e.g. don't auto-restart on certain exit codes).