mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 23:30:45 +08:00
Linux installer: catch paths the netx user cannot enter; --grant-access.
Installing under /root left systemd failing with 203/EXEC and empty logs. The installer now checks that the service user can enter the program and data dirs; blocked parents are granted traverse-only access (setfacl u:netx:x, else chmod o+x) with --grant-access or after asking, otherwise it stops with the exact command. Start failures show the supervisor log or journalctl when api.log is empty. README: /root installs and UME with self-signed certificates (NETX_ALLOW_INSECURE_DEFAULTS). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
78db39eabe
commit
b0b64ba07d
4 changed files with 126 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ wait_healthy() {
|
|||
return 0
|
||||
fi
|
||||
err "$(t "NetX 未在 ${timeout} 秒内就绪" "NetX not healthy after ${timeout}s"): $(health_url)"
|
||||
tail -n 30 "${NETX_LOG_DIR}/api.log" 2>/dev/null >&2 || true
|
||||
show_start_failure "${NETX_DATA}"
|
||||
return 1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue