We need to generate the process list before starting the proxies,
because it will be used to create a proxy in the master
master = 1;
- mworker_env_to_proc_list(); /* get the info of the children in the env */
-
signal_register_fct(SIGTERM, mworker_catch_sigterm, SIGTERM);
signal_register_fct(SIGUSR1, mworker_catch_sigterm, SIGUSR1);
signal_register_fct(SIGINT, mworker_catch_sigterm, SIGINT);
LIST_ADDQ(&proc_list, &tmproc->list);
}
+ mworker_env_to_proc_list(); /* get the info of the children in the env */
}
pattern_finalize_config();