Mercurial > hg > nginx
comparison src/core/ngx_cycle.h @ 7744:f18db38a9826
Core: "-e" command line option.
When installing or running from a non-root user it is sometimes required to
override default, compiled in error log path. There was no way to do this
without rebuilding the binary (ticket #147).
This patch introduced "-e" command line option which allows one to override
compiled in error log path.
author | Igor Ippolitov <iippolitov@nginx.com> |
---|---|
date | Thu, 19 Nov 2020 16:59:00 +0000 |
parents | b9071b875194 |
children |
comparison
equal
deleted
inserted
replaced
7743:4b1299b1856a | 7744:f18db38a9826 |
---|---|
78 | 78 |
79 ngx_str_t conf_file; | 79 ngx_str_t conf_file; |
80 ngx_str_t conf_param; | 80 ngx_str_t conf_param; |
81 ngx_str_t conf_prefix; | 81 ngx_str_t conf_prefix; |
82 ngx_str_t prefix; | 82 ngx_str_t prefix; |
83 ngx_str_t error_log; | |
83 ngx_str_t lock_file; | 84 ngx_str_t lock_file; |
84 ngx_str_t hostname; | 85 ngx_str_t hostname; |
85 }; | 86 }; |
86 | 87 |
87 | 88 |