Function is_systemd

Source
pub fn is_systemd(unit: &str) -> bool
Expand description

Check if the current process is running under systemd as a service with the given unit name