systemd

package
v0.0.0-beta4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootService = "/etc/systemd/system/multi-user.target.wants"
)

Variables

View Source
var (
	ConfBindSystemService = func(name string) *appconf.ConfBind {
		return appconf.NewConfBind(&fs, name+".service", RootService+name+".service", perm)
	}
)

Functions

This section is empty.

Types

type OptSystemService

type OptSystemService struct {
	Unit    OptSystemServiceUint
	Service OptSystemServiceService
}

type OptSystemServiceService

type OptSystemServiceService struct {
	Type               string
	PIDFile            bool
	PIDFileVal         string
	EnvironmentFile    bool
	EnvironmentFileVal string
	ExecStart          bool
	ExecStartVal       string
	ExecReload         bool
	ExecReloadVal      string
	ExecStop           bool
	ExecStopVal        string
}

type OptSystemServiceUint

type OptSystemServiceUint struct {
	Description string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL