Skip to main content

start_unit

Function start_unit 

Source
pub fn start_unit(
    level: UnitDBusLevel,
    unit_name: &str,
    mode: StartStopMode,
) -> Result<String, SystemdErrors>
Expand description

Takes a unit name as input and attempts to start it

ยงreturns

job_path