Start nav-site in background when pm2 and systemd are unavailable.

Fall back to a pid-file background process after deploy, and detect running state via HTTP port checks in the management menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-12 12:06:43 +08:00
parent fa90a29576
commit d75bf5b0de
4 changed files with 164 additions and 10 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ def action_uninstall(*, dest: str = "") -> None:
_warn("已取消卸载")
return
actions = stop_service()
actions = stop_service(project_dir)
if actions:
for item in actions:
_ok(item)