06-06-2008, 11:05 PM
Im trying to get 2 TF2 servers running on my VPS. I have installed the server files no problem but am stuck on how to start the server.
I can start one server at once by using:
When I try to start another server, the first one terminates and the new one starts. After a few seconds the new one terminates and the old one starts up again. This starts an endless cycle.
Any help would be appreciated.
Thanks.
I can start one server at once by using:
Code:
#!/bin/sh
echo "Starting GoldRush TF2 Server"
sleep 1
screen -A -m -d -S gold ./srcds_run -console -game tf +87.117.225.161 -port 27017 +map pl_goldrush
When I try to start another server, the first one terminates and the new one starts. After a few seconds the new one terminates and the old one starts up again. This starts an endless cycle.
Any help would be appreciated.
Thanks.