mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
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:
@@ -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>(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user