Documentation ¶
Overview ¶
Package daemon provide functions to control execution of deamons
Index ¶
Constants ¶
View Source
const ExecDir = "/sbin/"
Variables ¶
This section is empty.
Functions ¶
func GetInitType ¶ added in v0.20.5
func HardRestart ¶ added in v0.20.5
func HardRestart() error
HardRestart - restarts system daemon using init system
func Install ¶
func Install() error
Install - Calls the correct function to install the netclient as a daemon service on the given operating system.
func RemoveAllLockFiles ¶ added in v0.22.0
func RemoveAllLockFiles()
RemoveAllLockFiles - removes all lock files used by netclient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.