package
0.3.1
Repository: https://github.com/nubeio/lib-systemctl-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author

# Variables

ErrBusFailure $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR were not defined This usually is the result of running in usermode as root.
ErrDoesNotExist The unit specified doesn't exist or can't be found.
ErrExecTimeout The provided context was cancelled before the command finished execution.
ErrInsufficientPermissions The executable was invoked without enough permissions to run the selected command Running as superuser or adding the correct PolicyKit definitions can fix this See https://wiki.debian.org/PolicyKit for more information.
ErrLinked Selected unit file resides outside the unit file search path.
ErrMasked Masked units can only be unmasked, but something else was attempted to Unmask the unit before enabling or disabling it.
ErrNotInstalled If this error occurs, the library isn't entirely useful, as it causes a panic Make sure systemctl is in the PATH before calling again.
ErrUnitNotActive A unit was expected to be running but was found inactive This can happen when calling GetStartTime on a dead unit, for example.
ErrUnitNotLoaded A unit was expected to be loaded, but was not.
ErrUnspecified Something in the stderr output contains the word `Failed`, but it is not a known case This is a catch-all, and if it's ever seen in the wild, please submit a PR.
ErrValueNotSet An expected value is unavailable, but the unit may be running This can happen when calling GetMemoryUsage on systemd itself, for example.

# Structs

No description provided by the author
No description provided by the author