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 /configure | |
parent | 72c3e08158107398bdeb95fe993fe30999b78ebd (diff) | |
download | unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.gz unit-4953e5b5cba166bc12a92c686c5e000aaf272667.tar.bz2 |
Configuration persistence.
Now configuration survives server reloads.
Diffstat (limited to '')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |