SRCDS Steam group


Help closing server
#1
I have just installed CSS on my deticated server and im not very good with ssh. I have started my server but now i wish to shut it down, i've tried the screen commands to get to the screen where CSS is running but it didnt work. If anyone knows how to kill the server please let me know.
Reply
#2
Never mind problem solved, i used the top command and then used kill to kill the job id.

Mods you can close this topic.
Reply
#3
I'm not very well versed with Linux and I'm having trouble closing my server as well. I run the server using the following server.sh:

#!/bin/sh
echo "Starting Counter-Strike:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -tickrate 100 +fps_max 600 -autoupdate

When I bring up the screen the server is running in and just run the quit command, the server closes and then immediately restarts. What do I need to do to actually shut it down without restarting?
Reply
#4
Inside the screen session you should be able to do a ctrl+c and it'll kill the process.

Another way would be to do what the OP said. Find the pid via top (or ps aux) and kill it.
Reply
#5
Thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)