diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-06-06 16:53:35 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-06-06 16:53:35 +0300 |
commit | ceeb30188152426d76eac1f40ca8ceb24ddb5d0a (patch) | |
tree | 910a973b915b7320746d87b9088fd29b37aafe79 /src/nxt_main_process.c | |
parent | 857bddeea613cdf7ce0f9228ec6601285bf3bde7 (diff) | |
download | unit-ceeb30188152426d76eac1f40ca8ceb24ddb5d0a.tar.gz unit-ceeb30188152426d76eac1f40ca8ceb24ddb5d0a.tar.bz2 |
Go: specifying command line arguments to the executable.
This closes #110 issue on GitHub.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_main_process.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index b5037635..032c05cd 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -178,6 +178,13 @@ static nxt_conf_map_t nxt_go_app_conf[] = { NXT_CONF_MAP_CSTRZ, offsetof(nxt_common_app_conf_t, u.go.executable), }, + + { + nxt_string("arguments"), + NXT_CONF_MAP_PTR, + offsetof(nxt_common_app_conf_t, u.go.arguments), + }, + }; |