switch

Function switch 

Source
pub fn switch(
    service_manager: &impl ServiceManager,
    old_dir: Option<&Path>,
    new_dir: &Path,
    dry_run: bool,
    verbose: bool,
    timeout: Duration,
) -> Result<()>
Expand description

Performs a systemd unit “switch”.