Back to Keybase

README

go/updater/watchdog/README.md

6.6.2510 B
Original Source

Watchdog

The watchdog is in charge of ensuring that a list of programs are always running. The watchdog will start these programs (it will be the parent of those processes). If the watchdog is terminated, the monitored programs will also be terminated.

When the watchdog starts up, it will kill any programs that it will be monitoring. Then it will monitor a list of programs and will restart them if they exit. Programs can be configured to always run, or to stop when receiving a particular exit status.