systemd

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableUnitFiles

func DisableUnitFiles(obj dbus.BusObject, files []string) error

func EnableUnitFiles

func EnableUnitFiles(obj dbus.BusObject, files []string) error

func ReloadDaemon added in v1.0.2

func ReloadDaemon(obj dbus.BusObject) error

func StartUnit

func StartUnit(obj dbus.BusObject, serviceName string) error

func StopUnit

func StopUnit(obj dbus.BusObject, serviceName string) error

Types

type ServiceConfig added in v1.0.2

type ServiceConfig struct {
	Name    string
	Start   bool
	Content string
}

ServiceConfig holds individual service configuration

Jump to

Keyboard shortcuts

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