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 ready. 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. NOTE: this function should only be called once, and so it should generally only be used directly in a command's Run handler. It should not be called as a result of rc commands. See #7540.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.