Restart Crashing Programs

By Exsanity

So i am running off a Ubuntu 15.04 server currently and sometimes programs such as appache or other vital programs i use will crash i won’t know till im messaged hours later which obviously isn’t good for me! So does anyone know a script or program that will auto restart a program once it closes unexpectedly or something like that?
Thanks

I’ve tried running in tmux which gets over the when the pipeline closes (through SSH) but still doesn’t solve the fact that the program crashes

Source:: http://askubuntu.com/questions/870728/restart-crashing-programs


Leave a Reply