summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-09-10 06:22:15 +0300
committerValentin Bartenev <vbart@nginx.com>2017-09-10 06:22:15 +0300
commit4953e5b5cba166bc12a92c686c5e000aaf272667 (patch)
treeb6ab5642b8b4709c8f5c0102bc9610066432eedf /configure
parent72c3e08158107398bdeb95fe993fe30999b78ebd (diff)
downloadunit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.gz
unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.bz2
Configuration persistence.
Now configuration survives server reloads.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d4de0652..8e49065d 100755
--- a/configure
+++ b/configure
@@ -33,6 +33,7 @@ NXT_DAEMON=unitd
NXT_BINDIR="bin"
NXT_SBINDIR="sbin"
NXT_MODULES="$NXT_BUILD_DIR"
+NXT_STATE="$NXT_BUILD_DIR"
NXT_PID="unit.pid"
NXT_LOG="unit.log"
NXT_CONTROL="unix:control.unit.sock"
@@ -81,6 +82,7 @@ cat << END >> $NXT_AUTO_CONFIG_H
#define NXT_PID "$NXT_PID"
#define NXT_LOG "$NXT_LOG"
#define NXT_MODULES "$NXT_MODULES"
+#define NXT_STATE "$NXT_STATE"
#define NXT_CONTROL_SOCK "$NXT_CONTROL"