From 201ec3be5ae7b9d1ac56ac4652a5d908c47b88ac Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 4 Sep 2021 11:04:23 -0500 Subject: [PATCH] docs: added SETUP_ONLY --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4db2c570..eab2db20 100644 --- a/README.md +++ b/README.md @@ -1323,6 +1323,10 @@ disable that by passing `-e GUI=FALSE`. 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. +### Setup only + +If you are using a host-attached data directory, then you can have the image setup the Minecraft server files and stop prior to launching the server process by setting `SETUP_ONLY` to `true`. + ## Autopause ### Description