Documentation ¶
Rendered for darwin/amd64
Index ¶
- func AgentRunning(label string) bool
- func CheckPlist(config AgentConfig) error
- func CreatePlist(config AgentConfig) error
- func LoadPlist(label string) error
- func PlistExists(label string) bool
- func Remove(label string) error
- func RemovePlist(label string) error
- func RestartAgent(label string) error
- func StartAgent(label string) error
- func StopAgent(label string) error
- func UnloadPlist(label string) error
- type AgentConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentRunning ¶
AgentRunning checks if a launchd service is running
func CheckPlist ¶ added in v1.24.0
func CheckPlist(config AgentConfig) error
func CreatePlist ¶
func CreatePlist(config AgentConfig) error
CreatePlist creates a launchd agent plist config file
func PlistExists ¶
func RemovePlist ¶
RemovePlist removes a launchd agent plist config file
func UnloadPlist ¶
UnloadPlist Unloads a launchd agent's service
Types ¶
Click to show internal directories.
Click to hide internal directories.