mirror of
https://github.com/nginx/nginx.git
synced 2025-01-05 21:53:01 -06:00
Fixed handling of SIGWINCH/NOACCEPT signal.
After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as ngx_daemonized wasn't set.
This commit is contained in:
parent
2fd9b49334
commit
2b24a67268
@ -374,6 +374,10 @@ main(int argc, char *const *argv)
|
||||
ngx_daemonized = 1;
|
||||
}
|
||||
|
||||
if (ngx_inherited) {
|
||||
ngx_daemonized = 1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user