Configuration persistence.
Now configuration survives server reloads.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user