Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
type Config ¶ added in v0.16.0
type Config struct { CommandLine string WorkingDirectory string Title string SubTitle string JobDescription string TimerDescription string Schedules []string UnitType UnitType Priority string UnitFile string TimerFile string }
Config for generating systemd unit and timer files
Click to show internal directories.
Click to hide internal directories.