systemd

package
v0.3.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable(unit string) error

func Reload

func Reload(unit string) error

func Restart

func Restart(unit string) error

func Start

func Start(unit string) error

func Status

func Status(unit string) error

Status executes "systemctl status unit". WARNING: in case the unit is stopped, Status will return an error. There is a set of status code, that I might translate to Go errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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