Documentation ¶ Index ¶ func Enable(unit string) error func Reload(unit string) error func Restart(unit string) error func Start(unit string) error func Status(unit string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Enable ¶ func Enable(unit string) error func Reload ¶ func Reload(unit string) error func Restart ¶ func Restart(unit string) error func Start ¶ func Start(unit string) error func Status ¶ func Status(unit string) error Status executes "systemctl status unit". WARNING: in case the unit is stopped, Status will return an error. There is a set of status code, that I might translate to Go errors. Types ¶ This section is empty. Source Files ¶ View all Source files systemd.go Click to show internal directories. Click to hide internal directories.