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 units::is_oneshot_service_by_name, which the varlink path previously had to reach back to D-Bus for.