Skip to main content

proxy_respawn_args

Function proxy_respawn_args 

Source
pub fn proxy_respawn_args(
    stopped: &[ServiceProcess],
    autostart_restarted: bool,
) -> Option<Vec<String>>
Expand description

What restart/config apply does about a proxy it stopped: start it again with the arguments it ran with, unless the proxy autostart service brought it back (autostart_restarted). Without this, restart left the proxy down on Windows and wherever no autostart is installed (#2176 review). None when there is nothing to start. Pure.