Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReadyEnabled = "READY=1" StoppingEnabled = "STOPPING=1" ReloadingEnabled = "RELOADING=1" )
Variables ¶
This section is empty.
Functions ¶
func ClearStatus ¶ added in v0.43.0
func ClearStatus() error
ClearStatus resets the current service status previously set by Status.
func FlagAndStatus ¶
FlagAndStatus sends systemd a combination of a well-known status and STATUS=%s{status}, separated by newline.
func InitSocket ¶
func InitSocket() error
InitSocket initializes socket with provided name of environment variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.