14.11.2013, 23:44
I've just configured the VPS that I am using, with "restart.sh" and when I go onto the command line and type:
cd /samp03
nohup ./restart.sh &
It shows:
[root@server2 samp03]# nohup: appending output to `nohup.out'
nohup: cannot run command `./restart.sh': No such file or directory
[3]+ Exit 127 nohup ./restart.sh
Even though it's there, and the chmod is to 777.
Is there any other way WITHOUT cronjobs (since I really don't understand them for some reason), that I can setup a script to automatically restart the samp server when it crashes/"rcon exit"?
Thanks.
cd /samp03
nohup ./restart.sh &
It shows:
[root@server2 samp03]# nohup: appending output to `nohup.out'
nohup: cannot run command `./restart.sh': No such file or directory
[3]+ Exit 127 nohup ./restart.sh
Even though it's there, and the chmod is to 777.
Is there any other way WITHOUT cronjobs (since I really don't understand them for some reason), that I can setup a script to automatically restart the samp server when it crashes/"rcon exit"?
Thanks.