systemd

package
v0.0.0-...-f254385 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableService

func DisableService(name string) error

func EnableService

func EnableService(name string) error

func RestartService

func RestartService(name string) error

func StartService

func StartService(name string) error

func StopService

func StopService(name string) error

Types

type Service

type Service struct {
	Name        string
	Description string
	Status      string
	Enabled     bool
}

func ListServices

func ListServices() ([]Service, error)

Jump to

Keyboard shortcuts

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