watchd: optional debug output

This commit is contained in:
rofl0r
2019-01-06 22:44:18 +00:00
parent 312f77469e
commit e51dbe113b
3 changed files with 6 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ def load():
timeout = parser.getint('watcherd', 'timeout')
submit_after = parser.getint('watcherd', 'submit_after')
use_ssl = parser.getboolean('watcherd', 'use_ssl')
global watchd_debug
watchd_debug = parser.getboolean('watcherd', 'debug')
# allow overriding select items from the commandline
import argparse