Tremulous Forum

Community => Servers => Topic started by: ScottCameron on August 16, 2009, 05:57:40 am

Title: How to stop the server
Post by: ScottCameron on August 16, 2009, 05:57:40 am
Hello,

I run this command:
Code: [Select]
screen -d -m -S tremded /usr/local/games/tremulous/tremded.x86 +set dedicated 2 +exec server.cfg +map atcs
and it runs my server, but I need to restart it / stop it. What's the command to do that?
Title: Re: How to stop the server
Post by: Undeference on August 16, 2009, 06:56:32 am
The preferred way to quit tremded is using the [wiki]quit[/wiki] command. This can be done directly on the server console (after running `screen -rS tremded`) or via [wiki]rcon[/wiki] from a client or with a script, e.g.,
Code: [Select]
echo -e '\xff\xff\xff\xffrcon password quit' | nc -uw1 127.0.0.1 30720Or you can send tremded a signal with kill (or killall). Alternatively, you can tell screen to quit, e.g.,
Code: [Select]
screen -S tremded -X quit