Hey all,
when I open putty I put a startup command for my cs 1.6 server to start up as soon as I close putty the server shuts down is it possible for me to run the server without it shutting down when I shutdown putty I tried the screen can someone post a simple tuto. not any links just post a tuto. for how to do it thanks
Teckins please help
Run server in background
-
- New to forums
- Posts: 8
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Nov 13, 2011 12:17 pm
Re: Run server in background
Try going here
http://www.srcds.com/db/engine.php?suba ... 0&archive=
Look at the Running srcds in background (re-attachable) section
http://www.srcds.com/db/engine.php?suba ... 0&archive=
Look at the Running srcds in background (re-attachable) section
Code: Select all
#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Re: Run server in background
Even better, we have a tutorial here: http://www.nfoservers.com/forums/viewto ... =67&t=4163, including how to use "screen" after you start the server.