diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
commit | 0d65c896cfa45f5e3fef05d95c9409fd68ff45c8 (patch) | |
tree | 71a420645b43a1a2d7d45fe5f35071d986e1869e /auto/options | |
parent | 7f5b57bfb9a61ce0ba3fbc74f1775ace2d8ec6ec (diff) | |
download | unit-0d65c896cfa45f5e3fef05d95c9409fd68ff45c8.tar.gz unit-0d65c896cfa45f5e3fef05d95c9409fd68ff45c8.tar.bz2 |
Added configure and command line option --control.
Diffstat (limited to '')
-rw-r--r-- | auto/options | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/auto/options b/auto/options index b013a7ae..b21fe5c4 100644 --- a/auto/options +++ b/auto/options @@ -17,6 +17,8 @@ NXT_PID="nginext.pid" NXT_LOG="nginext.log" NXT_MODULES="modules" +NXT_CONTROL="unix:control.unit.sock" + NXT_USER="nobody" NXT_GROUP= @@ -67,6 +69,8 @@ do --log=*) NXT_LOG="$value" ;; --modules=*) NXT_MODULES="$value" ;; + --control=*) NXT_CONTROL="$value" ;; + --user=*) NXT_USER="$value" ;; --group=*) NXT_GROUP="$value" ;; @@ -136,3 +140,9 @@ case "$NXT_MODULES" in /*) ;; *) NXT_MODULES="$NXT_PREFIX$NXT_MODULES" ;; esac + +case "$NXT_CONTROL" in + unix:/*) ;; + unix:*) NXT_CONTROL="unix:$NXT_PREFIX${NXT_CONTROL##unix:}" ;; + *) ;; +esac |