Management Commands - Slave

The slave supports the following commands that you can use to manage the slave, view its logs and perform actions manually via SSH.

Command Description
docker container start gametron-slave Starts the slave if it’s stopped.
docker container stop gametron-slave Stops the slave if it’s running.
docker container restart gametron-slave Restarts the slave if it’s running or starts it if it’s stopped.
docker container logs gametron-slave Shows the logs of the slave. Use --tail n to view the last n lines.
docker container start -ia gametron-certbot Renews the SSL certificate of the slave. Also renews the master’s certificate if it’s installed on the same server.
docker container ls --filter="name=server_*" Lists all servers on the slave that are online.
docker container ls -a --filter="name=server_*" Lists all servers on the slave.
docker container start server_<server_id> Starts a server.
docker container stop server_<server_id> Stops a server.
docker container restart server_<server_id> Restarts a server if it’s running or starts it if it’s stopped.
docker container logs server_<server_id> Shows the logs of a server. Use --tail n to view the last n lines.