fix: handle NostrVpn provider in VPN disconnect match
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0aefacf3b9
commit
e042b3d563
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user