SRCDS Steam group


How to start srcds in linux
#1
Hi, I have a server running tf2 in a datacenter. It's running FreeBSD 6.2-RELEASE #11 and gcc (GCC) 3.4.6 [FreeBSD] 20060305.

I have SSH access to the server. That's how I was able to install srcds. To start the server I use code:
./srcds_run -console -game tf +ip -port +maxplayers 24 +map ctf_2fort

The server runs and everything... but when I close my SSH connection it goes down.

How can I run the server 24/7 without having to do it from an SSH connection?

Thanks
Reply
#2
Run the server in a screen for example :
screen -A -m -d -S tf2server ./srcds_run -console -game tf +ip -port +maxplayers 24 +map ctf_2fort
And if you log back to ssh, you can resume the screen with screen -x tf2server!
Reply
#3
Thanks... it worked. Smile My FreeBSD server didn't have screen installed.. but I intalled it and everything works. Thanks.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)