Skip to main content

install_with_binary

Function install_with_binary 

Source
pub fn install_with_binary(binary: &str, port: u16, quiet: bool) -> bool
Expand description

Install (or rewrite) and start the proxy autostart service. Refused for another instance (a directory override or a sandbox HOME): the service manager addresses the unit by name, so the stop, port hand-off, unit rewrite and enable --now would act on the default install’s proxy (6 Nov 2026, see crate::daemon_autostart::controls_user_services).