diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-05-28 20:55:23 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-05-28 20:55:23 +0300 |
commit | d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b (patch) | |
tree | 6472a83f7b6acc1962f0a7449d74ddc577306b85 /src/nxt_main_process.c | |
parent | 3befb08204f64983e684904ecd2cb20ff45dd3c2 (diff) | |
download | unit-d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b.tar.gz unit-d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b.tar.bz2 |
Configuration of environment variables for application processes.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_main_process.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 46f49a72..f0a5903e 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -121,6 +121,12 @@ static nxt_conf_map_t nxt_common_app_conf[] = { NXT_CONF_MAP_CSTRZ, offsetof(nxt_common_app_conf_t, working_directory), }, + + { + nxt_string("environment"), + NXT_CONF_MAP_PTR, + offsetof(nxt_common_app_conf_t, environment), + }, }; |