mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
Add support for health check for pre-1.3 versions (#3758)
This commit is contained in:
@@ -393,6 +393,12 @@ if versionLessThan 'b1.8'; then
|
||||
echo "
|
||||
DISABLE_HEALTHCHECK=true
|
||||
" > "$mcHealthEnvPath"
|
||||
elif versionLessThan 1.3; then
|
||||
echo "
|
||||
MC_HEALTH_EXTRA_ARGS=(
|
||||
--use-old-server-list-ping
|
||||
)
|
||||
" > "$mcHealthEnvPath"
|
||||
elif versionLessThan 1.7; then
|
||||
echo "
|
||||
MC_HEALTH_EXTRA_ARGS=(
|
||||
|
||||
Reference in New Issue
Block a user