systemdutil

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapActiveStateForPosture

func MapActiveStateForPosture(active string) string

MapActiveStateForPosture maps systemd ActiveState to running|stopped|unknown. The services collector may join substate as "active/running".

func SystemctlIsActiveState

func SystemctlIsActiveState(ctx context.Context, unit string) string

SystemctlIsActiveState runs systemctl is-active (bounded). Returns running, stopped, or unknown.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL