Quantcast
Viewing latest article 14
Browse Latest Browse All 773

How to autorun .sh

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?


Viewing latest article 14
Browse Latest Browse All 773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>