Skip to main content

install_connector_service

Function install_connector_service 

Source
pub fn install_connector_service(
    unit: &ServiceUnit,
    label: &str,
) -> Result<ServiceState, TeamsError>
Expand description

Install a rendered context connector. An identical installed unit is an idempotent success. A different unit in this home’s own service folder is this home’s connector with new parameters (a new build, PATH or folder), so it is replaced and restarted; a label the manager holds with no unit here belongs to another home and is refused.