CentOS 6 problem... ./samp03svr doing nothing.
#5

I run CentOS6 as well, heres my "sampstart.sh" script:

navigate to SAMP folder
"nano sampstart.sh"
Paste the following in it:
Quote:

#!/bin/sh
screen -S samp ./samp03svr

ctrl-x to close, make sure you save changes
"chmod +x sampstart.sh"
Then to start server just navigate to SAMP folder and do "./sampstart.sh"

After it starts hit ctrl-a and then press 'd' to disconnect from screen. To reconnect do 'screen -r samp' if you want to ctrl-c your server (stops it).

To keep eye on server log do 'tail -f server_log.txt'
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)