Server autorestarter - Linux (centos 6)? Wiki solutions don't work.
#1

Hello.

Is there any working solutions to have the server auto-restart when it crashes?
I've red this: https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online, but no solution does work for me. When I use sh restart.sh or sh check.sh, I get errors like 'unextected end of file' or 'unextected symbol done'..
Does anyone have a working linux script that I can use to keep my server online?
My server is hosted on a linux VPS that uses centos 6.

Thanks!

Edit: I managed to do that using a PHP cron job + samp rcon api + samp ssh api, but I doubt it that that's the best way to do it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)