fix: handle NostrVpn provider in VPN disconnect match
Some checks failed
Build Archipelago ISO (dev) / build-iso (push) Failing after 11m7s
Some checks failed
Build Archipelago ISO (dev) / build-iso (push) Failing after 11m7s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -190,6 +190,12 @@ impl RpcHandler {
|
||||
.output()
|
||||
.await;
|
||||
}
|
||||
vpn::VpnProvider::NostrVpn => {
|
||||
let _ = tokio::process::Command::new("systemctl")
|
||||
.args(["stop", "nostr-vpn"])
|
||||
.output()
|
||||
.await;
|
||||
}
|
||||
}
|
||||
|
||||
info!("VPN disconnected");
|
||||
|
||||
Reference in New Issue
Block a user