Shutting Down and Restarting the Game

  • [manage]
  • [restart]
  • [shutdown]

If you ever need to stop your game, the best way is to use the shutdown command in-game.

If that doesn’t work, you can:

  1. Log into the Web Portal with an admin character.
  2. Go to Admin -> Manage.
  3. Click “Shutdown”.

If that still doesn’t work, see “Hard Kill” below.

Restarting the Game

Once the game is shut down, you can restart it from the server shell:

  1. Log into the Server Shell.
  2. Type cd aresmush.
  3. Type bin/startares.

See Starting the Game for help.

Hard Kill

As a last resort, if none of the above steps work to shut down the game, you can kill the server process.

  1. Log into your Server Shell.
  2. Change into the aresmush folder using cd aresmush.
  3. Run the kill script: bin/killares.

If for some reason the process ID isn’t there or the kill command doesn’t work, you’ll need to figure out the game process. On most servers, you can execute the command ps -aux | grep rake and see something like this:

ares     25742  0.0  6.5 233656 69084 ?        Sl   06:29   0:04 ruby /home/ares/.rvm/gems/ruby-2.1.5/bin/rake startares

The bold number in the second column is the process ID (25742). You can then do kill -9 <process ID>.