This is what do I do:
1
2
2
cd /usr/games ./cs2d_dedicated
Should I use special characters after ./cs2d_dedicated?
Servers
The server shuts down when I close PuTTY
The server shuts down when I close PuTTY
1

cd /usr/games ./cs2d_dedicated
nohup ./cs2d_dedicated &
G3tWr3ck3d: go type messages elsewhere or continue upping my topic.
BcY: thank you very much, but now I cannot see the server status through terminal: messages about current events (e.g. chat messages, U.S.G.N status updated) are not sent. Is there a way to fix this?
Kolia_rus has written
BcY has writtennohup ./cs2d_dedicated &
Maksim_KoToB has written
Kolia_rus has written
cs2d@koliarus1:/usr/games$ nohup ./cs2d_dedicated & [1] 24654 cs2d@koliarus1:/usr/games$ nohup: ignoring input and appending output to '/home/cs2d/nohup.out'
Kolia_rus has written
BcY has writtennohup ./cs2d_dedicated &
Maksim_KoToB has written
Kolia_rus has written
Maksim_KoToB and @
BcY.
BcY.
DC: why not to add this to cs2d.com F.A.Q?
tmux. In Debian you can install it with
sudo apt-get install tmux, and you can read the tutorial here and their comparison between
screenhere.
screen -S cs2d- start a new console session named "cs2d"
screen -r <pid/name>or
screen -r cs2d- reconnect to console
CTRL+A then CTRL+D - "detach" from currently open console. It will continue to run on the server in background
screen -list- lists all screens by your user.
screen -d <pid>before
screen -r <pid>.
1
