diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-26 13:37:44 +0300 |
commit | 7f5b57bfb9a61ce0ba3fbc74f1775ace2d8ec6ec (patch) | |
tree | 37f69782ab933eb36d305d8d3e6e90c42417a711 /src/nxt_application.c | |
parent | 9aaa7d8c20e58ed380225cbbbd05248539d2f500 (diff) | |
download | unit-7f5b57bfb9a61ce0ba3fbc74f1775ace2d8ec6ec.tar.gz unit-7f5b57bfb9a61ce0ba3fbc74f1775ace2d8ec6ec.tar.bz2 |
Added configure and command line option --modules.
Diffstat (limited to 'src/nxt_application.c')
-rw-r--r-- | src/nxt_application.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c index 4689f622..23182401 100644 --- a/src/nxt_application.c +++ b/src/nxt_application.c @@ -46,9 +46,10 @@ nxt_discovery_start(nxt_task_t *task, void *data) nxt_debug(task, "DISCOVERY"); - b = nxt_discovery_modules(task, "build/nginext.*"); - rt = task->thread->runtime; + + b = nxt_discovery_modules(task, rt->modules); + main_port = rt->port_by_type[NXT_PROCESS_MASTER]; nxt_port_socket_write(task, main_port, NXT_PORT_MSG_MODULES, -1, |