12-21-2009, 07:56 AM
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 start.sh script
each server has it's own start.sh "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
I run 4 srcds servers (Counter-Strike: Source) on one ubuntu box.
I have set it up with a basic start.sh script
Code:
#!/bin/sh
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 91.204.209.61 -port 27015 +fps_max 300 -tickrate 100
each server has it's own start.sh "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