Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*SysConf)
Option configures the SysConf instance.
func WithLogger ¶
WithLogger sets the parent logger for the sysconf.
type Runit ¶
type Runit struct{}
Runit provides a handle to the service supervisor calls
type SysConf ¶
type SysConf struct {
*Runit
// contains filtered or unexported fields
}
SysConf contains convenient functions for configuring a Void System
func (*SysConf) InstallPkgs ¶
InstallPkgs interfaces with the system package manager to install OS packages.
func (*SysConf) SetHostname ¶
SetHostname sets up the hostname both in the hostname file, and by changing the immediate machine hostname.
Click to show internal directories.
Click to hide internal directories.