Skip to main content

is_oneshot

Function is_oneshot 

Source
pub fn is_oneshot(output: &ListOutput) -> bool
Expand description

Whether a unit is a oneshot service.

The varlink equivalent of the D-Bus path’s Service.Type check in units::is_oneshot_service_unit.