summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-05 10:22:44 -0700
committerMax Romanov <max.romanov@nginx.com>2017-09-05 10:22:44 -0700
commitf1685e371fe8a3bb9442fe2c5e0e33f5da0ac4f9 (patch)
treeed499fb4dabc60c607f6591cafa6520a99d10803 /src/nxt_conf_validation.c
parentdb6d2b96877dac089e22817fc9896a45ea410d8d (diff)
downloadunit-f1685e371fe8a3bb9442fe2c5e0e33f5da0ac4f9.tar.gz
unit-f1685e371fe8a3bb9442fe2c5e0e33f5da0ac4f9.tar.bz2
Introducing working_directory directive for applications.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf_validation.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 5cc2569f..94371ca8 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -80,6 +80,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_python_members[] = {
NULL,
NULL },
+ { nxt_string("working_directory"),
+ NXT_CONF_STRING,
+ NULL,
+ NULL },
+
{ nxt_string("path"),
NXT_CONF_STRING,
NULL,
@@ -115,6 +120,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_php_members[] = {
NULL,
NULL },
+ { nxt_string("working_directory"),
+ NXT_CONF_STRING,
+ NULL,
+ NULL },
+
{ nxt_string("root"),
NXT_CONF_STRING,
NULL,
@@ -155,6 +165,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_go_members[] = {
NULL,
NULL },
+ { nxt_string("working_directory"),
+ NXT_CONF_STRING,
+ NULL,
+ NULL },
+
{ nxt_string("executable"),
NXT_CONF_STRING,
NULL,