Documentation ¶ Overview ¶ Package systemd contains utilities for communication with the systemd service manager. Index ¶ func Notify() func() func UpdateStatus(status string) error 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 ¶ func UpdateStatus(status string) error UpdateStatus updates the systemd status Types ¶ This section is empty. Source Files ¶ View all Source files doc.go notify.go Click to show internal directories. Click to hide internal directories.