Documentation
¶
Index ¶
- func Generate(commandLine, wd, title, subTitle, jobDescription, timerDescription string, ...) error
- func GetServiceFile(profileName, commandName string) string
- func GetSystemDir() string
- func GetTimerFile(profileName, commandName string) string
- func GetUserDir() (string, error)
- type TemplateInfo
- type UnitType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(commandLine, wd, title, subTitle, jobDescription, timerDescription string, onCalendar []string, unitType UnitType, priority string) error
Generate systemd unit
func GetServiceFile ¶ added in v0.9.0
GetServiceFile returns the service file name for the profile
func GetSystemDir ¶ added in v0.9.0
func GetSystemDir() string
GetSystemDir returns the path where the local systemd units are stored
func GetTimerFile ¶ added in v0.9.0
GetTimerFile returns the timer file name for the profile
func GetUserDir ¶ added in v0.9.0
GetUserDir returns the default directory where systemd stores user units
Types ¶
Click to show internal directories.
Click to hide internal directories.