diff --git a/src/watchdogd.c b/src/watchdogd.c index 66321df..f1c1b4b 100644 --- a/src/watchdogd.c +++ b/src/watchdogd.c @@ -318,12 +318,12 @@ int main(int argc, char *argv[]) setlogmask(LOG_UPTO(loglevel)); openlog(prognm, log_opts, LOG_DAEMON); - /* Read /etc/watchdogd.conf if it exists */ - conf_parse_file(&ctx, opt_config); - /* Hello world ... */ LOG("%s v%s %s ...", prognm, PACKAGE_VERSION, wdt_testmode() ? "test mode" : "starting"); + /* Read /etc/watchdogd.conf if it exists */ + conf_parse_file(&ctx, opt_config); + /* Setup callbacks for SIGUSR1 and, optionally, exit magic on SIGINT/SIGTERM */ setup_signals(&ctx);