01-19-2005, 12:35 AM
I have a little big problem . When I use the "rcon quit" command on my source dedicated servers, servers go down, but they dont restart themself. I use screens. Why?
Thank you very much
Thank you very much
Another question :D
|
01-19-2005, 12:35 AM
I have a little big problem . When I use the "rcon quit" command on my source dedicated servers, servers go down, but they dont restart themself. I use screens. Why?
Thank you very much
01-19-2005, 01:14 AM
Are they supposed to restart themselves on a "quit" command?
Try out with this start script:
#!/bin/bash while true; do export LD_LIBRARY_PATH=/path/to/your/srcds_l/:$LD_LIBRARY_PATH ./srcds_run -console -game cstrike +map <your map> +exec server.cfg +maxplayers xx -autoupdate -port <your port> +ip <your ip> date >> crash.txt clear echo "|-----|" sleep 1 clear echo "|+----|" sleep 1 clear echo "|++---|" sleep 1 clear echo "|+++--|" sleep 1 clear echo "|++++-|" sleep 1 clear echo "|+++++|" echo "" echo "" echo "Server reinitialization..." echo "" done When your server crashes, this start script should get it online again.
01-19-2005, 06:06 AM
thank you sprinter, script works fine . If i would it in background?
01-19-2005, 10:49 AM
Make this script executable and then create another start-file like this:
screen -A -m -d -S css1 ./name_of_the_first_script Now you have the srcds server launched on the screen called "css1". Have Fun
01-20-2005, 05:09 AM
Sprinter you are my new god, thank you for all.
|
« Next Oldest | Next Newest »
|