Home
last modified time | relevance | path

Searched refs:app_conf (Results 1 – 6 of 6) sorted by relevance

/unit/src/
H A Dnxt_main_process.c366 nxt_common_app_conf_t *app_conf; in nxt_main_start_process_handler() local
409 if (nxt_slow_path(app_conf == NULL)) { in nxt_main_start_process_handler()
413 app_conf->shared_port_fd = msg->fd[0]; in nxt_main_start_process_handler()
414 app_conf->shared_queue_fd = msg->fd[1]; in nxt_main_start_process_handler()
418 app_conf->name.start = start; in nxt_main_start_process_handler()
436 app_conf->shm_limit = 100 * 1024 * 1024; in nxt_main_start_process_handler()
437 app_conf->request_limit = 0; in nxt_main_start_process_handler()
439 start += app_conf->name.length + 1; in nxt_main_start_process_handler()
484 if (app_conf->limits != NULL) { in nxt_main_start_process_handler()
496 app_conf->self = conf; in nxt_main_start_process_handler()
[all …]
H A Dnxt_isolation.c71 nxt_common_app_conf_t *app_conf; in nxt_isolation_main_prefork() local
74 app_conf = process->data.app; in nxt_isolation_main_prefork()
77 if (app_conf->isolation != NULL) { in nxt_isolation_main_prefork()
78 ret = nxt_isolation_set(task, app_conf->isolation, process); in nxt_isolation_main_prefork()
91 ret = nxt_process_creds_set(task, process, &app_conf->user, in nxt_isolation_main_prefork()
92 &app_conf->group); in nxt_isolation_main_prefork()
103 "missing capabilities", &app_conf->user, &app_conf->name); in nxt_isolation_main_prefork()
108 if (app_conf->group.length > 0 in nxt_isolation_main_prefork()
109 && !nxt_str_eq(&app_conf->group, (u_char *) rt->group, in nxt_isolation_main_prefork()
113 "missing capabilities", &app_conf->group, in nxt_isolation_main_prefork()
[all …]
H A Dnxt_application.c510 nxt_common_app_conf_t *app_conf; in nxt_proto_setup() local
512 app_conf = process->data.app; in nxt_proto_setup()
516 nxt_app_conf = app_conf; in nxt_proto_setup()
518 lang = nxt_app_lang_module(task->thread->runtime, &app_conf->type); in nxt_proto_setup()
520 nxt_alert(task, "unknown application type: \"%V\"", &app_conf->type); in nxt_proto_setup()
536 if (nxt_slow_path(nxt_app_set_environment(app_conf->environment) in nxt_proto_setup()
544 ret = nxt_app->setup(task, process, app_conf); in nxt_proto_setup()
566 if (app_conf->working_directory != NULL in nxt_proto_setup()
567 && app_conf->working_directory[0] != 0) in nxt_proto_setup()
569 ret = chdir(app_conf->working_directory); in nxt_proto_setup()
[all …]
H A Dnxt_java.c208 nxt_common_app_conf_t *app_conf; in nxt_java_start() local
216 app_conf = data->app; in nxt_java_start()
217 c = &app_conf->u.java; in nxt_java_start()
431 nxt_unit_default_init(task, &java_init, app_conf); in nxt_java_start()
/unit/test/unit/applications/
H A Dproto.py49 app_conf = conf['applications'][app]
59 app_conf[key] = kwargs[key]
/unit/src/python/
H A Dnxt_python.c141 nxt_common_app_conf_t *app_conf; in nxt_python_start() local
154 app_conf = data->app; in nxt_python_start()
155 c = &app_conf->u.python; in nxt_python_start()
291 ret = nxt_python_set_target(task, &targets->target[0], app_conf->self); in nxt_python_start()