systemd

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ready     = "READY=1"
	Reloading = "RELOADING=1"
	Stopping  = "STOPPING=1"
)

Variables

View Source
var NotifyNoSocket = errors.New("No socket")

Functions

This section is empty.

Types

type Notifier

type Notifier struct{}

Notifier provides a method to send a message to systemd.

func (*Notifier) Notify

func (n *Notifier) Notify(state string) error

Notify sends a message to the init daemon. It is common to ignore the error.

Jump to

Keyboard shortcuts

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