SRCDS Steam group


Server stop after close Putty
#1
Help!!! my source dedicated server stop after close Putty ssh client . Solutions , plz!!!
Reply
#2
zongo Wrote:Help!!! my source dedicated server stop after close Putty ssh client . Solutions , plz!!!

Execute the command with a & at the end, then you should be able to exit from ssh without the program terminating when you exit the ssh session.
Reply
#3
Soynuts Wrote:
zongo Wrote:Help!!! my source dedicated server stop after close Putty ssh client . Solutions , plz!!!

Execute the command with a & at the end, then you should be able to exit from ssh without the program terminating when you exit the ssh session.
Sorry , not work aim executed:

./srcds_run -console -game cstrike +map de_dust2 -tickrate 100 -ip xxx.xxx.xxx.xxx -maxplayers 16 -autoupdate &

not work after close putty client my server stop...???????????
Reply
#4
http://forums.srcds.com/viewtopic/4399
Reply
#5
zongo Wrote:
Soynuts Wrote:
zongo Wrote:Help!!! my source dedicated server stop after close Putty ssh client . Solutions , plz!!!

Execute the command with a & at the end, then you should be able to exit from ssh without the program terminating when you exit the ssh session.
Sorry , not work aim executed:

./srcds_run -console -game cstrike +map de_dust2 -tickrate 100 -ip xxx.xxx.xxx.xxx -maxplayers 16 -autoupdate &

not work after close putty client my server stop...???????????

Start your server inside a screen.

Code:
screen -A -m -d -S css-server ./srcds_run -game cstrike -ip <enter external IP> -port 27015 +map de_dust2 +maxplayers 16 -tickrate 100 +fps_max 600 -autoupdate

To attach to the screen:

Code:
screen -ls

Look for the ID number

Code:
screen -r <id number>

Technically screen -r css-server should work instead - but in my experience it never seemed to work for me.
Reply
#6
Big Grin 
Thx for help , aim executed :

Quote:./srcds_run -game cstrike -autoupdate -tickrate 100 -ip xxx.xxx.xxx.xxx +maxplayers 18 +map de_dust2 > /dev/null 2>&1 &

After close the putty client my server its perfect work. Big Grin
Reply
#7
if you start screen via: "screen -S servername" then you can re-attach via "screen -r servername" the -S flag names the screen something else rather than the pid.
Reply
#8
screen -S css_1 -d -m ./scrds_run .....
to start server

screen -r css_1
to view detached screen

ALT A+D
to detach again screen
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)