test fix
All checks were successful
Build, Push and Redeploy Docker Image / build-and-push (push) Successful in 5m10s
All checks were successful
Build, Push and Redeploy Docker Image / build-and-push (push) Successful in 5m10s
This commit is contained in:
13
start-n8n.sh
13
start-n8n.sh
@@ -21,12 +21,13 @@ 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-exec node "$N8N_BIN" start
|
||||
exec su -c "n8n start" node
|
||||
Reference in New Issue
Block a user