add env for server_name

This commit is contained in:
Thijs van Loef
2024-01-19 19:06:05 +01:00
parent 2bf13584c2
commit 0c2edf6caa
4 changed files with 13 additions and 2 deletions

View File

@@ -16,6 +16,10 @@ if [ -n "${PUBLIC_PORT}" ]; then
STARTCOMMAND="${STARTCOMMAND} -publiport=${PUBLIC_PORT}"
fi
if [ -n "${SERVER_NAME}" ]; then
STARTCOMMAND="${STARTCOMMAND} -servername=${SERVER_NAME}"
fi
if [ -n "${SERVER_PASSWORD}" ]; then
STARTCOMMAND="${STARTCOMMAND} -serverpassword=${SERVER_PASSWORD}"
fi