SRCDS Steam group


Putty help
#1
When i Execute game servers with putty on my server, with /dev/null 2>&1 &

and close the session, the game server stops. Does anyone have any idea why?
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#2
your opening a separate terminal window thing. to prevent that you should start your server in screen then detach it like screen -A -m -d -S name ./srcds_run -console ... and then you can access the server window with screen -x name
Reply
#3
You can use screen, but I just disconnect Putty and use HLSW for administration.
Reply
#4
Hmmm, i couldnt get screen working but i can make a .sh script and run it from there. An example would be

cd /srcdsdir/
./srcds_run -settingshere
echo "Server Running"

and use ./filename
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#5
Wrote a script for that. First time:
- Upload script to the server or copy and paste it in a file
- chmod 777 css-pub.txt
- Fill in server-ip in script
- Check path ("DIR" variable)

Easy to use then:
./css-pub.txt <parameter>

Parameters:
start - starts server with autoupdate
stop
fast - starts server without autoupdate
restart
status


Attached Files
.txt   css-pub.txt (Size: 2.1 KB / Downloads: 104)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)