46 ms·
If the program exits with a special status to indicate non-restartable failure, you could, in principle, recognize that in the process manager and handle it dif
by twic 11y ago
If the program exits with a special status to indicate non-restartable failure, you could, in principle, recognize that in the process manager and handle it differently, by not restarting. Is there any way to do this in systemd, or in any other process manager?
- icebraining 11y agoYes, systemd has "RestartPreventExitStatus" to configure a list of exit codes which prevent the automatic restart.
- digi_owl 11y agoWas there not a recent blog/article that mused about the likelihood of systemd spawning all manner of special case entries? And now i ponder likening systemd with CISC...