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
UpdateStatus updates the systemd status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.