Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: