systemctl

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionEnvironmentVariables

func ActionEnvironmentVariables(user bool) carapace.Action

ActionEnvironmentVariables completes environment variables

SWAYSOCK (/run/user/1000/sway-ipc.1000.978.sock)
WAYLAND_DISPLAY (wayland-1)

func ActionLogLevels

func ActionLogLevels() carapace.Action

ActionLogLevels completes log levels

0
emerg

func ActionProperties

func ActionProperties(opts PropertiesOpts) carapace.Action

ActionProperties completes properties for given unit

Architecture (x86-64)
ConfirmSpawn (no)

func ActionServices

func ActionServices(user bool) carapace.Action

ActionServices completes services

NetworkManager.service (Network Manager)
apparmor.service (Load AppArmor profiles)

func ActionStates

func ActionStates() carapace.Action

ActionStates completes states

dead
running

func ActionTargets

func ActionTargets(user bool) carapace.Action

ActionTargets completes targets

basic.target (Basic System)
bluetooth.target (Bluetooth Support)

func ActionUnitFiles added in v1.4.0

func ActionUnitFiles(opts UnitFileOpts) carapace.Action

ActionUnitFiles completes unit files

NetworkManager.service
apparmor.service

func ActionUnitTypes

func ActionUnitTypes() carapace.Action

ActionUnitTypes completes unit types

service
mount

func ActionUnits

func ActionUnits(opts UnitOpts) carapace.Action

ActionUnits completes units

NetworkManager.service (Network Manager)
apparmor.service (Load AppArmor profiles)

Types

type PropertiesOpts

type PropertiesOpts struct {
	User  bool
	Units []string
}

type UnitFileOpts added in v1.4.0

type UnitFileOpts struct {
	User bool

	// type
	Automount bool
	Mount     bool
	Path      bool
	Scope     bool
	Service   bool
	Slice     bool
	Socket    bool
	Target    bool
	Timer     bool

	// state
	Alias          bool
	Disabled       bool
	Enabled        bool
	EnabledRuntime bool
	Generated      bool
	Indirect       bool
	Static         bool
	Transient      bool
}

func (UnitFileOpts) Default added in v1.4.0

func (o UnitFileOpts) Default() UnitFileOpts

type UnitOpts added in v1.3.2

type UnitOpts struct {
	User     bool
	Active   bool
	Inactive bool
}

func (UnitOpts) Default added in v1.3.2

func (o UnitOpts) Default() UnitOpts

Jump to

Keyboard shortcuts

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