58 /* |
58 /* |
59 * SIGUSR1: reload the configuration files |
59 * SIGUSR1: reload the configuration files |
60 */ |
60 */ |
61 void sig_usr1_reload(int sig) { |
61 void sig_usr1_reload(int sig) { |
62 log_ereport(LOG_INFORM, "sig reload"); |
62 log_ereport(LOG_INFORM, "sig reload"); |
63 |
63 |
64 if(cfgmgr_load_config() != 0) { |
64 if(cfgmgr_load_config(NULL) != 0) { |
65 log_ereport(LOG_FAILURE, "cannot reload config"); |
65 log_ereport(LOG_FAILURE, "cannot reload config"); |
66 } |
66 } |
67 // start newly created listeners |
67 // start newly created listeners |
68 start_all_listener(); |
68 start_all_listener(); |
69 |
69 |