GTO-Custom-AI commited on
Commit
235e0d9
·
verified ·
1 Parent(s): 1a73f86

Upload start.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. start.sh +3 -3
start.sh CHANGED
@@ -25,6 +25,6 @@ find "${N8N_DATA}" -type f -exec chmod 0600 {} +
25
  # ---------- Drop Privileges & Launch ------------------------------------------
26
  echo "▸ [start.sh] Dropping to user node (1000), starting n8n on port ${N8N_PORT:-7860} …"
27
 
28
- # su-exec replaces the current process (no intermediate shell)
29
- # Use the named "node" user that ships with node:22-alpine (uid/gid 1000)
30
- exec su-exec node n8n start
 
25
  # ---------- Drop Privileges & Launch ------------------------------------------
26
  echo "▸ [start.sh] Dropping to user node (1000), starting n8n on port ${N8N_PORT:-7860} …"
27
 
28
+ # su-exec replaces the current process (no intermediate shell).
29
+ # Call n8n via its full path to bypass the broken global symlink.
30
+ exec su-exec node node /usr/local/lib/node_modules/n8n/bin/n8n start