src/server/daemon/main.c

changeset 86
49bb6c8ceb2b
parent 82
740cfd9dd443
child 115
51d9a15eac98
equal deleted inserted replaced
85:b62e77d8e80c 86:49bb6c8ceb2b
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

mercurial