fix: add network dependency to start-tunneld and rename web reset to uninit

Add After/Wants network-online.target to prevent race where
start-tunneld starts before the network interface is up, causing
missing MASQUERADE rules. Rename `web reset` to `web uninit` for
clarity.
This commit is contained in:
Aiden McClelland
2026-03-09 23:02:10 -06:00
parent 76de6be7de
commit 7b05a7c585
3 changed files with 24 additions and 8 deletions

View File

@@ -168,10 +168,10 @@ pub fn web_api<C: Context>() -> ParentHandler<C> {
.with_call_remote::<CliContext>(),
)
.subcommand(
"reset",
"uninit",
from_fn_async(reset_web)
.no_display()
.with_about("about.reset-webserver")
.with_about("about.uninitialize-webserver")
.with_call_remote::<CliContext>(),
)
}