From 49c95b31c073a010f5cc6fa9c4152b865c46a317 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 24 Apr 2026 03:03:49 +0100 Subject: [PATCH] test(e2e): run root-owned gateway logging as appuser --- scripts/e2e/bundled-channel-runtime-deps-docker.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/e2e/bundled-channel-runtime-deps-docker.sh b/scripts/e2e/bundled-channel-runtime-deps-docker.sh index 0b979f0c214..7343dab1c2b 100644 --- a/scripts/e2e/bundled-channel-runtime-deps-docker.sh +++ b/scripts/e2e/bundled-channel-runtime-deps-docker.sh @@ -484,7 +484,8 @@ start_gateway() { OPENCLAW_NO_ONBOARD=1 \ OPENCLAW_PLUGIN_STAGE_DIR="$OPENCLAW_PLUGIN_STAGE_DIR" \ npm_config_cache=/tmp/openclaw-root-owned-npm-cache \ - openclaw gateway --port "$PORT" --bind loopback --allow-unconfigured >"$log_file" 2>&1 & + bash -c 'openclaw gateway --port "$1" --bind loopback --allow-unconfigured >"$2" 2>&1' \ + bash "$PORT" "$log_file" & gateway_pid="$!" for _ in $(seq 1 240); do