mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-17 04:33:17 +00:00
Added related info about stop/down timeout (#3691)
This commit is contained in:
@@ -119,7 +119,9 @@ disable that by passing `-e GUI=FALSE`.
|
|||||||
|
|
||||||
## Stop Duration
|
## Stop Duration
|
||||||
|
|
||||||
When the container is signalled to stop, the Minecraft process wrapper will attempt to send a "stop" command via RCON or console and waits for the process to gracefully finish. By default it waits 60 seconds, but that duration can be configured by setting the environment variable `STOP_DURATION` to the number of seconds.
|
When the container is signaled to stop, the Minecraft process wrapper will attempt to send a "stop" command via RCON or console and waits for the process to gracefully finish. By default, it waits 60 seconds, but that duration can be configured by setting the environment variable `STOP_DURATION` to the number of seconds.
|
||||||
|
|
||||||
|
Be sure to also increase the shutdown timeout described [here for docker compose down](https://docs.docker.com/reference/cli/docker/compose/down/#options) and [here for docker stop](https://docs.docker.com/reference/cli/docker/container/stop/#options).
|
||||||
|
|
||||||
## Setup only
|
## Setup only
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user