Documentation
¶
Index ¶
- func CreateOrLoadConfig(interval string, logdays string) int
- func CreateSystemd(systemdType string, unitText string, name string)
- func DeleteSystemd(service string, key string)
- func DisableRtmon()
- func DisableSystemd(service string)
- func EnableRtmon()
- func EnableSystemd(service string, key string)
- type Utility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrLoadConfig ¶
CreateOrLoadConfig - Create configuration file and directories
func CreateSystemd ¶
CreateSystemd will create service and timer files
func DeleteSystemd ¶
DeleteSystemd function to delete the gdg systemd service or timer
func DisableSystemd ¶
func DisableSystemd(service string)
DisableSystemd disables the sytemd gdg.timer
func EnableSystemd ¶
EnableSystemd enables the systemd gdg.timer
Types ¶
Click to show internal directories.
Click to hide internal directories.