Mercurial > hg > nginx
comparison src/core/nginx.c @ 2745:1983932b8075
pass command lines options to workers
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 23 Apr 2009 18:22:28 +0000 |
parents | d8316f307b6a |
children | a65976a205a5 |
comparison
equal
deleted
inserted
replaced
2744:e50a2faac31d | 2745:1983932b8075 |
---|---|
538 ngx_pid_t pid; | 538 ngx_pid_t pid; |
539 ngx_exec_ctx_t ctx; | 539 ngx_exec_ctx_t ctx; |
540 ngx_core_conf_t *ccf; | 540 ngx_core_conf_t *ccf; |
541 ngx_listening_t *ls; | 541 ngx_listening_t *ls; |
542 | 542 |
543 ngx_memzero(&ctx, sizeof(ngx_exec_ctx_t)); | |
544 | |
543 ctx.path = argv[0]; | 545 ctx.path = argv[0]; |
544 ctx.name = "new binary process"; | 546 ctx.name = "new binary process"; |
545 ctx.argv = argv; | 547 ctx.argv = argv; |
546 | 548 |
547 n = 2; | 549 n = 2; |