Searched refs:app_conf (Results 1 – 6 of 6) sorted by relevance
/unit/test/unit/applications/ |
H A D | proto.py | 20 app_conf = conf['applications'][app] 30 app_conf[key] = kwargs[key]
|
/unit/src/ |
H A D | nxt_main_process.c | 453 nxt_common_app_conf_t *app_conf; in nxt_main_start_process_handler() local 496 if (nxt_slow_path(app_conf == NULL)) { in nxt_main_start_process_handler() 500 app_conf->shared_port_fd = msg->fd[0]; in nxt_main_start_process_handler() 501 app_conf->shared_queue_fd = msg->fd[1]; in nxt_main_start_process_handler() 505 app_conf->name.start = start; in nxt_main_start_process_handler() 523 app_conf->shm_limit = 100 * 1024 * 1024; in nxt_main_start_process_handler() 524 app_conf->request_limit = 0; in nxt_main_start_process_handler() 526 start += app_conf->name.length + 1; in nxt_main_start_process_handler() 571 if (app_conf->limits != NULL) { in nxt_main_start_process_handler() 583 app_conf->self = conf; in nxt_main_start_process_handler() [all …]
|
H A D | nxt_isolation.c | 77 nxt_common_app_conf_t *app_conf; in nxt_isolation_main_prefork() local 80 app_conf = process->data.app; in nxt_isolation_main_prefork() 87 if (app_conf->isolation != NULL) { in nxt_isolation_main_prefork() 88 ret = nxt_isolation_set(task, app_conf->isolation, process); in nxt_isolation_main_prefork() 101 ret = nxt_process_creds_set(task, process, &app_conf->user, in nxt_isolation_main_prefork() 102 &app_conf->group); in nxt_isolation_main_prefork() 113 "missing capabilities", &app_conf->user, &app_conf->name); in nxt_isolation_main_prefork() 118 if (app_conf->group.length > 0 in nxt_isolation_main_prefork() 119 && !nxt_str_eq(&app_conf->group, (u_char *) rt->group, in nxt_isolation_main_prefork() 123 "missing capabilities", &app_conf->group, in nxt_isolation_main_prefork() [all …]
|
H A D | nxt_application.c | 510 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() 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() 945 nxt_common_app_conf_t *app_conf; in nxt_app_set_logs() local 957 app_conf = process->data.app; in nxt_app_set_logs() 959 if (app_conf->stdout_log != NULL) { in nxt_app_set_logs() 962 file.name = (u_char *) app_conf->stdout_log; in nxt_app_set_logs() [all …]
|
H A D | nxt_java.c | 208 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/src/python/ |
H A D | nxt_python.c | 159 nxt_common_app_conf_t *app_conf; in nxt_python_start() local 172 app_conf = data->app; in nxt_python_start() 173 c = &app_conf->u.python; in nxt_python_start() 309 ret = nxt_python_set_target(task, &targets->target[0], app_conf->self); in nxt_python_start()
|