SRCDS Steam group

srcds autorestart
hey, there are probably a couple of hundreds of posts with the info i need, but i haven't found any.

I run 4 srcds servers (Counter-Strike: Source) on one ubuntu box.
I have set it up with a basic script
echo "Starting CS:Source #1"
screen -A -m -d -S 111111 taskset -c 0 ./srcds_run -console -pingboost 3 -cstrike +map de_dust2 +maxplayers 24 -autoupdate -IP -port 27015 +fps_max 300 -tickrate 100

each server has it's own "111111" is "222222" for the second server and so on.

What i want is a script to automaticly restart the servers if they crash/time out.

I use webmin to administer my server where ever i am. If it can easily be set up in webmin that would be great.

Kind regards
you already have -autoupdate so your server will be restarted after 10 seconds if it crashes. (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
yeah it works if the server completely shuts down, but not if it times out or just stops.

The process does not get terminated, and that results in the problem where it does not restart

Forum Jump:

Users browsing this thread: 1 Guest(s)