Skip to main content

systemd_version

Function systemd_version 

Source
pub fn systemd_version() -> Option<u32>
Expand description

Major version of systemd, parsed from systemctl --version.

None when systemd is absent or the output cannot be read, in which case no version-specific warning is given rather than a wrong one.