systemd

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 5 Imported by: 7

Documentation

Overview

Package systemd contains utilities for communication with the systemd service manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notify

func Notify() func()

Notify systemd that the service is starting. This returns a function which should be called to notify that the service is stopping. This function will be called on exit if the service exits on a signal.

func UpdateStatus added in v1.66.0

func UpdateStatus(status string) error

UpdateStatus updates the systemd status

Types

This section is empty.

Jump to

Keyboard shortcuts

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