Documentation
¶
Index ¶
- func RestartService(unit string, isUser bool) (string, error)
- func ServiceIsActive(unit string, isUser bool) (bool, error)
- func ServiceIsActiveOrEnabled(unit string, isUser bool) bool
- func ServiceIsEnabled(unit string, isUser bool) (bool, error)
- func StartService(unit string, isUser bool) (string, error)
- func StopService(unit string, isUser bool) (string, error)
- func UnitExists(unitName string, isUser bool) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.