Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemdSearchPaths = []string{
"/etc/systemd/system.control/",
"/run/systemd/system.control/",
"/run/systemd/transient/",
"/run/systemd/generator.early/",
"/etc/systemd/system/",
"/etc/systemd/system.attached/",
"/run/systemd/system/",
"/run/systemd/system.attached/",
"/run/systemd/generator/",
"/usr/lib/systemd/system/",
"/run/systemd/generator.late/",
}
SystemdSearchPaths are the base directories to search in for service files.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
func GetChecker ¶
func GetChecker() Checker
type LinuxChecker ¶
type LinuxChecker struct { }
func (*LinuxChecker) HasService ¶
func (lc *LinuxChecker) HasService(service string) (bool, error)
Click to show internal directories.
Click to hide internal directories.