Question
Game Server 24.7
Hi, I'm running a Counter-Strike: Source gameserver but when I close the putty client, the server just shuts down , sometimes when i close it doesn't shut down which is weird, so all goes well, ubt whenever the server gets no activity for lets say, 30 minutes , i just shuts down, how can I keep my CS:s server up 24/7? Is there something I need to add to the command line to keep it up 24/7? Here's my current command line:
./srcds_run -game cstrike +port 27015 +maxplayers 16 +map de_dust2 -secure
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Add ’&’ at the end of your command line. This will launch the command in background.
At this time, your server is shutting down because your command is attach to your SSH prompt.