PDA

View Full Version : How to stop a linux dedicated server?


delogic
12-25-2003, 08:02 PM
Well, I've got it up and running but I changed something and the server is no longer showing up in the list.

I'm wondering what command line in SSH I'd type to stop the server.

Anyone please help?

delogic
12-25-2003, 08:34 PM
Disregard the above post.

When I run my SSH session and run the server with the command
./cod_lnxded +set dedicated 2 +exec myserver.cfg +map_rotate
The server starts and starts to accept connections. Though when I disconnect from my SSH connection to my remote linux box the game seems to have been stopped. It's no longer listed in the list. I've doublechecked that and I'm sure it stays running when I'm connected to my server via SSH and stops as soon as I disconnect from it.

Is there a command to make it stay running?

Chingaman
12-25-2003, 11:41 PM
try putting your command in a script file. For example create a file called codstart.sh with your commandline in it. Then to start the server type in ./codstart.sh & this will allow you to detach the process and it will stay running after you log out

delogic
12-26-2003, 02:40 AM
Yup got it working. Thanks a bunch.