Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { User string // User to configure systemd for, default is current user. Binpath string // Path to binary Args []string // The command is the position of the daemon command in the application command tree. }
Config is a stub to generate systemd configuration files.
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
NewDefaultConfig returns a default Systemd service file configuration.
Click to show internal directories.
Click to hide internal directories.