void ngx_http_accounting_worker_process_exit(ngx_cycle_t *cycle) { ngx_http_accounting_main_conf_t *amcf; amcf = ngx_http_cycle_get_module_main_conf(cycle, ngx_http_accounting_module); if (!amcf->enable) { return; } worker_process_alarm_handler(NULL); }
void ngx_http_accounting_worker_process_exit(ngx_cycle_t *cycle) { ngx_http_accounting_main_conf_t *amcf; amcf = ngx_http_cycle_get_module_main_conf(cycle, ngx_http_accounting_module); if (!amcf->enable) { return; } worker_process_alarm_handler(NULL); syslog(LOG_INFO, "pid:%i|Process:exit", ngx_getpid()); }