Versions in this module Expand all Collapse all v0 v0.6.0 Apr 12, 2022 Changes in this version + const OutputTypeFile + const OutputTypeNull + const OutputTypeStderr + const OutputTypeStdout + const RestartAlways + const RestartNever + const RestartOnFailure + type App struct + Supervise []Definition + func (a *App) Provision(context caddy.Context) error + func (a *App) Start() error + func (a *App) Stop() error + func (a App) CaddyModule() caddy.ModuleInfo + type Definition struct + Command []string + Dir string + Env map[string]string + RedirectStderr *OutputTarget + RedirectStdout *OutputTarget + Replicas int + RestartPolicy RestartPolicy + TerminationGracePeriod string + User string + func (d Definition) ToSupervisors(logger *zap.Logger) ([]*Supervisor, error) + type Options struct + Args []string + Command string + Dir string + Env []string + RedirectStderr OutputTarget + RedirectStdout OutputTarget + Replica int + RestartPolicy RestartPolicy + TerminationGracePeriod time.Duration + User string + type OutputTarget struct + File string + Type string + type RestartPolicy string + type Supervisor struct + Options Options + func (s *Supervisor) Run() + func (s *Supervisor) Stop() v0.1.0 Apr 2, 2018