Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectSystemd ¶
func DetectSystemd() bool
DetectSystemd detects if the current process is running under systemd and returns true if it is. It is not intended to be 100% reliable, but useful to guess if we should treat a notification failure as an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.