diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-09-10 06:22:15 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-09-10 06:22:15 +0300 |
commit | 4953e5b5cba166bc12a92c686c5e000aaf272667 (patch) | |
tree | b6ab5642b8b4709c8f5c0102bc9610066432eedf /auto/options | |
parent | 72c3e08158107398bdeb95fe993fe30999b78ebd (diff) | |
download | unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.gz unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.bz2 |
Configuration persistence.
Now configuration survives server reloads.
Diffstat (limited to 'auto/options')
-rw-r--r-- | auto/options | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/options b/auto/options index cb4a8b56..9563bbc8 100644 --- a/auto/options +++ b/auto/options @@ -55,6 +55,7 @@ do --bindir=*) NXT_BINDIR="$value" ;; --sbindir=*) NXT_SBINDIR="$value" ;; --modules=*) NXT_MODULES="$value" ;; + --state=*) NXT_STATE="$value" ;; --pid=*) NXT_PID="$value" ;; --log=*) NXT_LOG="$value" ;; @@ -132,6 +133,11 @@ case "$NXT_MODULES" in *) NXT_MODULES="$NXT_PREFIX$NXT_MODULES" ;; esac +case "$NXT_STATE" in + /*) ;; + *) NXT_STATE="$NXT_PREFIX$NXT_STATE" ;; +esac + case "$NXT_PID" in /*) ;; *) NXT_PID="$NXT_PREFIX$NXT_PID" ;; |