systemd

package
v0.0.0-...-57701fa Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: BSD-2-Clause-Patent Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

ErrSdNotifyNoSocket is the error returned when the NOTIFY_SOCKET does not exist.

Functions

func Ready

func Ready() error

Ready sends READY=1 to the systemd notify socket.

func SdNotify

func SdNotify(state string) error

SdNotify sends a specified string to the systemd notification socket.

func Stopping

func Stopping() error

Stopping sends STOPPING=1 to the systemd notify socket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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