SRCDS Steam group


rcon quit kills server.. doesnt restart
#1
It seemed when I first setup my tf2 servers, that I could do rcon quit in-game or in hlsw to restart the servers, but now, it just kills srcds completely, and it does not restart.
They restart on crashes, but not on the quit command..
is there a way I can change this?
Reply
#2
This occur to me on thouse servers that isnt started in screen.

For some reason some is refusing to be run in screen, and thouse is killed at an rcon quit !

So if your not running the server in a screen, then try it !
Reply
#3
You want to run your server in an infinite loop script.
Therefore when you type "exit" (or quit I would guess) the server will shutdown and then the script will automatically re-start it.

I use a BAT script in windows for this, I'm not 100% sure how to make a bash script for it...
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#4
A simple cron task would allow for a server to restart on shutdown. A brief look on how i do it is here:

http://forums.srcds.com/viewpost/25534#pid25534

Just replace CSS specifics for TF2.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)