diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 380f6a2..686df31 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -1139,6 +1139,7 @@ int main(int argc, char *argv[]) { init_peer_groups(&ctx); init_peers(&ctx); + fastd_config_load_peer_dirs(&ctx, &conf); if (conf.daemon) { pid_t pid = fork(); @@ -1181,10 +1182,12 @@ int main(int argc, char *argv[]) { if (sighup) { sighup = false; + pr_info(&ctx, "reconfigure triggered"); + close_log(&ctx); init_log(&ctx); - fastd_reconfigure(&ctx, &conf); + fastd_config_load_peer_dirs(&ctx, &conf); } if (dump) { |