pub fn switch( service_manager: &impl ServiceManager, old_dir: Option<&Path>, new_dir: &Path, dry_run: bool, verbose: bool, timeout: Duration, ) -> Result<()>
Performs a systemd unit “switch”.