Skip to content

Commit eec264c

Browse files
authored
Pass EXTRA_ARGS to run.sh (fixes #2714) (#2715)
1 parent 3d2b88e commit eec264c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/start-finalExec

+4-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,10 @@ elif [[ $SERVER =~ run.sh ]]; then
294294
echo "SETUP_ONLY: bash ${SERVER}"
295295
exit
296296
fi
297-
exec mc-server-runner "${mcServerRunnerArgs[@]}" --shell bash "${SERVER}"
297+
if isTrue "${DEBUG_EXEC}"; then
298+
set -x
299+
fi
300+
exec mc-server-runner "${mcServerRunnerArgs[@]}" --shell bash "${SERVER}" "${EXTRA_ARGS}"
298301
else
299302
# If we have a bootstrap.txt file... feed that in to the server stdin
300303
if [ -f /data/bootstrap.txt ]; then

0 commit comments

Comments
 (0)