I have a game server that I would like to manage restarts automatically
Currently I am doing this to run the server
screen -dmS screenname // create a new screenscreen -xs screenname // attatch to screenbash ~/start.sh
Every few hours this program will crash and I'll have to SSH in to run this manually.
Is there a way I can possibly have .sh auto boot if it detects it goes down?