diff --git a/run-multi-gateways.sh b/run-multi-gateways.sh index cedf365..26db250 100755 --- a/run-multi-gateways.sh +++ b/run-multi-gateways.sh @@ -25,8 +25,7 @@ for profile in "${PROFILES[@]}"; do [ -z "${profile}" ] && continue echo "Starting gateway for profile: ${profile}" - API_SERVER_ENABLED=false \ - nohup gosu hermes "$HERMES_BIN" --profile "${profile}" gateway run \ + nohup env API_SERVER_ENABLED=false gosu hermes "$HERMES_BIN" --profile "${profile}" gateway run \ >> "/opt/data/logs/gateway-${profile}.log" 2>&1 & done