-
-
Notifications
You must be signed in to change notification settings - Fork 90
Shutdown or restart the bot
Daniel Tischner edited this page Dec 10, 2021
·
1 revision
In order to shutdown or restart any of the bots, one has to login to the VPS and command Docker to execute the corresponding task. Only members of the Moderator-Team can do the following steps.
See Access the VPS for details of the login process.
-
ssh togetherjava
to login to the VPS - Either
cd ~/docker-infra/master-bot
orcd ~/docker-infra/develop-bot
to go to the directory of the corresponding bot - Execute the corresponding
docker-compose
command
a. To issue a graceful shutdown, executedocker-compose down
b. To shutdown the bot forcefully, usedocker-compose kill
c. To command a restart of the bot, putdocker-compose restart