From 7cc02fc0a451e25344151a57a8817c74f530dd64 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 3 Jul 2021 17:16:26 +0200 Subject: [PATCH] config.py: add config.watchd.checktype, to select irc or http check --- config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config.py b/config.py index 7ba49b8..4973457 100644 --- a/config.py +++ b/config.py @@ -28,6 +28,7 @@ class Config(ComboParser): self.add_item(section, 'oldies_multi', int, 10, 'fetch threads*multi rows when testing oldies (default: 10)', False) self.add_item(section, 'source_file', str, 'servers.txt', 'server/url list to read from (default: servers.txt)', False) self.add_item(section, 'tor_safeguard', bool, True, 'enable tor safeguard (default: True)', False) + self.add_item(section, 'checktype', str, 'http', 'check type (irc or http)', False) section = 'httpd' self.add_item(section, 'listenip', str, '127.0.0.1', 'address for the httpd to listen to (default: 127.0.0.1)', True)