Provide ability to skip STOP_SERVER_ANNOUNCE_DELAY on demand (#3280)

This commit is contained in:
DerRockWolf
2025-01-25 23:42:47 +01:00
committed by GitHub
parent 319315a001
commit 0ff1e993d0
2 changed files with 11 additions and 1 deletions

View File

@@ -55,6 +55,16 @@ To allow time for players to finish what they're doing during a graceful server
The grace period can be increased using [the -t option on docker-compose down](https://docs.docker.com/compose/reference/down/) or set the [stop_grace_period](https://docs.docker.com/compose/compose-file/05-services/#stop_grace_period) in the compose file.
The `STOP_SERVER_ANNOUNCE_DELAY` can be bypassed by sending a `SIGUSR1` signal to the `mc-server-runner` process.
`docker`:
docker stop --signal SIGUSR1 mc
`docker compose`:
docker compose kill --signal SIGUSR1
## Configuration Options for Minecraft Server Health Monitoring
The image tags include specific variables to simplify configuration for monitoring the health of a Minecraft server: