Versions in this module Expand all Collapse all v1 v1.0.0 Feb 8, 2021 Changes in this version + var ErrSoNotFound = errors.New("unable to open a handle to libsystemd") + func CurrentUnitName() (unit string, err error) + func GetMachineID() (string, error) + func GetRunningSlice() (slice string, err error) + func IsRunningSystemd() bool + func RunningFromSystemService() (ret bool, err error)