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 screen
screen -xs screenname // attatch to screen
bash ~/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?
monit
? See https://mmonit.com/monit/#home. – Jos May 21 '22 at 09:44