Posts: 3
Threads: 2
Joined: Mar 2005
Reputation:
0
I have a hosting company that hosts my machine, and I telnet/ssh into it, and everytime I run the server, and I close putty, it kills the server, what do I have to do, to make it so it runs in the background, and/or when I run the command to start it, that it goes back to the command prompt and still runs the server ?
Posts: 23
Threads: 0
Joined: Dec 2004
Reputation:
0
screen -A -m -d -S cstrike ./srcds_run
Posts: 3
Threads: 2
Joined: Mar 2005
Reputation:
0
I tried it with the ./srcds_run and with the full command line and this is all.
root@localhost [~]# cd srcds_l
root@localhost [~/srcds_l]# screen -A -m -d -S cstrike ./srcds_run
root@localhost [~/srcds_l]# screen -A -m -d -S cstrike ./srcds_run -console -game cstrike +map de_dust -maxplayers 32 -autoupdate
root@localhost [~/srcds_l]#
Server never loaded.
Posts: 8
Threads: 2
Joined: Mar 2005
Reputation:
0
type screen -D -RR css-server
this will send you to a new blank screen then go to the directory that you hrcds is in and run your command from there. When you close your screen, the screen will now stay open at the server end.
To see what screens are open at the server end type screen -list