Versions in this module Expand all Collapse all v0 v0.1.1 May 2, 2023 Changes in this version + const LaunchdNoSuchProcessErrorCode + const LaunchdServiceNotFoundErrorCode + const SystemdUnitNotInstalledErrorCode + type DaemonConfig struct + Arguments []string + Description string + Label string + Program string + type DaemonProvider interface + Create func(ctx context.Context, config *DaemonConfig, force bool) error + Remove func(ctx context.Context, label string) error + Start func(ctx context.Context, label string) error + Stop func(ctx context.Context, label string) error + func NewDaemonProvider(l log.TraceLogger, u common.UserProvider, c cmd.CommandExecutor, ...) (DaemonProvider, error) + func NewLaunchdProvider(l log.TraceLogger, u common.UserProvider, c cmd.CommandExecutor, ...) DaemonProvider + func NewSystemdProvider(l log.TraceLogger, u common.UserProvider, c cmd.CommandExecutor, ...) DaemonProvider