Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultUnitsDirectory represents the directory of user-defined systemd units
DefaultUnitsDirectory = "/run/systemd/system"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateService ¶
GenerateService generates new systemd Service
func GenerateTimer ¶
GenerateTimer generates new systemd Timer
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents systemd D-Bus API client.
type ServiceData ¶
ServiceData represents data set of systemd Service
Click to show internal directories.
Click to hide internal directories.