Possibility to monitor the server status
heusmich opened this issue · 3 comments
Hi,
Is there a possibility to monitor the status of the installed servers (if they are stopped or started), for example with a cronjob?
Two days ago I restarted my root server and forgot to start the ASA servers again, so they were unavailable until I manually started them again.
I have some other game servers installed with LinuxGSM and there is a monitor function available.
If it´s not available in this docker image, is it possible to implement it somehow?
Best regards
heusmich
The status can be checked by running docker-compose ps -a
.
If you want to have an auto restart functionality, you can add a restart: always
statement to the docker-compose.yml
file below that line:
You would then need to run docker-compose up -d
(be careful, it restarts your server right away) so that this change gets active upon reboot.
OK, thanks for the fast help.
Then I will add this restart command to my docker compose file and restart the server with the "docker-compose up -d" command.
Yes, that's the way to go. I'll close the feature then, please reopen if it doesn't work.