Author Topic: How to stop the server  (Read 2229 times)

ScottCameron

  • Posts: 1
  • Turrets: +0/-0
How to stop the server
« 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?

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: How to stop the server
« Reply #1 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
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.