3 ms·
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".
by icebraining 11y ago
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.
- eropple 11y agoBut 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.
- icebraining 11y agoYes, which systemd will also display, and you can configure it to handle it differently (e.g. don't auto-restart on certain exit codes).
- deleted 11y ago[deleted]