systemctl

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package systemctl implements a capability-bounded systemd unit manager.

Unlike the host systemctl binary, this builtin is available only in remediation mode and accepts only exact unit names. Enumeration is restricted to units with an explicit read grant, inspection exposes a fixed set of fields, and every operation is authorized before the trusted systemd backend is called.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = builtins.Command{
	Name:            "systemctl",
	Description:     "inspect and control explicitly authorized systemd units",
	MakeFlags:       makeFlags,
	RemediationOnly: true,

	RemediationDeniedMessage: readOnlyMessage,
}

Cmd is the systemctl builtin command descriptor.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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