Versions in this module Expand all Collapse all v0 v0.8.1 May 3, 2023 Changes in this version + const MaxRestart + const MinRestart + const MulRestart + const Version + var CommonExcludes = []string + func RunPreps(b conf.Block, vars map[string]string, mod *moddwatch.Mod, log termlog.TermLog, ...) error + func RunProc(cmd string, shellMethod string, dir string, log termlog.Stream) error + type DaemonPen struct + func NewDaemonPen(block conf.Block, vars map[string]string, log termlog.TermLog) (*DaemonPen, error) + func (dp *DaemonPen) Restart() + func (dp *DaemonPen) Shutdown(sig os.Signal) + type DaemonWorld struct + DaemonPens []*DaemonPen + func NewDaemonWorld(cnf *conf.Config, log termlog.TermLog) (*DaemonWorld, error) + func (dw *DaemonWorld) Shutdown(s os.Signal) + type ModRunner struct + ConfPath string + ConfReload bool + Config *conf.Config + Log termlog.TermLog + Notifiers []notify.Notifier + func NewModRunner(confPath string, log termlog.TermLog, notifiers []notify.Notifier, ...) (*ModRunner, error) + func (mr *ModRunner) PrepOnly(initial bool) error + func (mr *ModRunner) ReadConfig() error + func (mr *ModRunner) Run() error + type ProcError struct + Output string + func (p ProcError) Error() string