From: John Runyon Date: Fri, 27 Oct 2023 15:56:24 +0000 (-0600) Subject: update bot.config.example - add watchdog parameters X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/9667cff319958ef8931fbeff1ecb4babc219ce84 update bot.config.example - add watchdog parameters --- diff --git a/bot.config.example b/bot.config.example index 26960f1..fbaa266 100644 --- a/bot.config.example +++ b/bot.config.example @@ -1,3 +1,7 @@ +; Copy this file to bot.config +; Note: comments will not be retained in bot.config, +; and you can not edit it by hand while the bot is running. + [erebus] realname = Erebus r1 host = irc.quakenet.org @@ -12,13 +16,23 @@ trigger = ! pidfile = pidfile -; Wait for numeric 396 (hidden host) before joining channels +; Wait for numeric 396 (hidden host) before joining channels? wait_for_hidden_host = 0 [autoloads] control = 1 eval = 0 +[watchdog] +; The bot includes a watchdog timer. It sends a PING to the server every +; "interval" seconds, and resets itself (by ending the process) if +; "maxtime" seconds go by without receiving anything. +interval = 30 +maxtime = 300 + + +; MODULES: + [trivia] jsonpath = /bla/foo/bar/modules/contrib/trivia/trivia.json.example con = twitter consumer