From 7e1637a31631955aec753365c7149c64b216d47e Mon Sep 17 00:00:00 2001 From: Igor Ippolitov Date: Thu, 19 Nov 2020 16:59:00 +0000 Subject: 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. --- auto/configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auto') diff --git a/auto/configure b/auto/configure index 7e6e33a7c..474d69e84 100755 --- a/auto/configure +++ b/auto/configure @@ -87,6 +87,10 @@ have=NGX_PID_PATH value="\"$NGX_PID_PATH\"" . auto/define have=NGX_LOCK_PATH value="\"$NGX_LOCK_PATH\"" . auto/define have=NGX_ERROR_LOG_PATH value="\"$NGX_ERROR_LOG_PATH\"" . auto/define +if [ ".$NGX_ERROR_LOG_PATH" = "." ]; then + have=NGX_ERROR_LOG_STDERR . auto/have +fi + have=NGX_HTTP_LOG_PATH value="\"$NGX_HTTP_LOG_PATH\"" . auto/define have=NGX_HTTP_CLIENT_TEMP_PATH value="\"$NGX_HTTP_CLIENT_TEMP_PATH\"" . auto/define -- cgit v1.2.1