Spaces:
Sleeping
Sleeping
Upload start.sh with huggingface_hub
Browse files
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 |
-
#
|
| 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
|