]> jfr.im git - erebus.git/commitdiff
update bot.config.example - add watchdog parameters
authorJohn Runyon <redacted>
Fri, 27 Oct 2023 15:56:24 +0000 (09:56 -0600)
committerJohn Runyon <redacted>
Fri, 27 Oct 2023 15:56:24 +0000 (09:56 -0600)
bot.config.example

index 26960f1ed24acbe4f509f236ac05cfa97891ec1b..fbaa266d4e7e1b72b9d561650bcd01283e4e86c6 100644 (file)
@@ -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