SA-MP Forums Archive
SA:MP auto-restart - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SA:MP auto-restart (/showthread.php?tid=649260)



SA:MP auto-restart - GaByM - 05.02.2018

Hello, I want to make my server restart when it crash. I read this https://sampwiki.blast.hk/wiki/Linux_Ser..._Server_Online , but I have a shared server and the only way to access my server is through filezilla and I don't have any method to execute commands/change file permissions etc..

I tried the 2nd method, I changed the samp03svr to samp03svrEX and added restart.sh to the server as samp03svr, but it get replaced when I started the server.

Any ideas?


Re: SA:MP auto-restart - sampplayer12 - 05.02.2018

Have you tried download the Server Files for linux trough www.sa-mp.com ?


Re: SA:MP auto-restart - Sew_Sumi - 05.02.2018

You've got a VPS yet you don't have SSH access? Then you need to read up on that as I guarantee you, you have SSH access, otherwise it's not a VPS.


Re: SA:MP auto-restart - GaByM - 06.02.2018

My bad, it's shared. I don't know why I said it's a VPS.


Re: SA:MP auto-restart - Sew_Sumi - 06.02.2018

You will likely need someone to either put on a control panel for the starting of the server for you, or to get them to add a cronjob to do what needs to be done.

With the auto-restart, there's ways of stopping it to allow you to do larger changes, but it's highly likely that you need access to the terminal (Usually given by SSH).

You may be able to ask for SSH access, or ask them if they already provide it anyway.