revert 9908a5b2e0
All checks were successful
Build, Push and Redeploy Docker Image / build-and-push (push) Successful in 5m24s

revert test fix
This commit is contained in:
2026-01-26 22:26:01 +07:00
parent 9908a5b2e0
commit 09064deb0c
2 changed files with 8 additions and 9 deletions

View File

@@ -21,13 +21,12 @@ iptables -t nat -A OUTPUT -p tcp -d 10.0.0.0/8 -j RETURN 2>/dev/null || true
iptables -t nat -A OUTPUT -p tcp -d 172.16.0.0/12 -j RETURN 2>/dev/null || true
iptables -t nat -A OUTPUT -p tcp -j REDIRECT --to-ports 12345 2>/dev/null || true
# N8N_BIN="/usr/local/bin/n8n"
N8N_BIN="/usr/local/bin/n8n"
# if [ ! -x "$N8N_BIN" ]; then
# echo "n8n binary not found at $N8N_BIN"
# exit 1
# fi
if [ ! -x "$N8N_BIN" ]; then
echo "n8n binary not found at $N8N_BIN"
exit 1
fi
# Start n8n
# exec su-exec node "$N8N_BIN" start
exec su -c "n8n start" node
exec su-exec node "$N8N_BIN" start