diff --git a/entrypoint.sh b/entrypoint.sh index 3140218..b8e421a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -79,7 +79,7 @@ if ! is_array_empty "$resources_to_restart"; then for resource in $resources_to_restart; do echo "Restarting ${resource}" echo "ensure ${resource} ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD}" - icecon --command "ensure ${resource}" "${SERVER_IP}:${SERVER_PORT}" "${RCON_PASSWORD}" + icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD} done else echo "Will restart the whole server"