This commit is contained in:
2026-01-21 15:08:22 -08:00
parent 3c19109222
commit da2bff8cd4
4 changed files with 116 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
from __future__ import annotations
import os
import sys
import subprocess
from pathlib import Path
@@ -98,6 +99,7 @@ def ensure_zerotier_server_running() -> None:
"--storage-path", str(storage_path),
"--port", str(port),
"--monitor"]
cmd += ["--parent-pid", str(os.getpid())]
if api_key:
cmd += ["--api-key", str(api_key)]