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_application.h | |
parent | 3befb08204f64983e684904ecd2cb20ff45dd3c2 (diff) | |
download | unit-d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b.tar.gz unit-d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b.tar.bz2 |
Configuration of environment variables for application processes.
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r-- | src/nxt_application.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h index 1f9a40e6..6ac7fbd3 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -9,6 +9,9 @@ #define _NXT_APPLICATION_H_INCLUDED_ +#include <nxt_conf.h> + + typedef enum { NXT_APP_PYTHON, NXT_APP_PHP, @@ -65,12 +68,13 @@ typedef struct { struct nxt_common_app_conf_s { - nxt_str_t name; - nxt_str_t type; - nxt_str_t user; - nxt_str_t group; + nxt_str_t name; + nxt_str_t type; + nxt_str_t user; + nxt_str_t group; - char *working_directory; + char *working_directory; + nxt_conf_value_t *environment; union { nxt_python_app_conf_t python; |