summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-19 10:49:46 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-19 10:49:46 +0300
commit0d7af2adf7afe894712711e02aaf54aa5814e1e2 (patch)
tree0189a44e2ebb98015d766a29a78d859a3e84ab83 /src
parent21de5c1d1895495477c39f47449f57b680e34140 (diff)
downloadunit-0d7af2adf7afe894712711e02aaf54aa5814e1e2.tar.gz
unit-0d7af2adf7afe894712711e02aaf54aa5814e1e2.tar.bz2
Removed "process" word from process title.
Diffstat (limited to 'src')
-rw-r--r--src/nxt_master_process.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index 5473afab..aea9ee59 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -250,8 +250,7 @@ nxt_master_process_title(nxt_task_t *task)
end = title + sizeof(title);
- p = nxt_sprintf(title, end, "nginext: master process %s",
- nxt_process_argv[0]);
+ p = nxt_sprintf(title, end, "nginext: master %s", nxt_process_argv[0]);
for (i = 1; nxt_process_argv[i] != NULL; i++) {
p = nxt_sprintf(p, end, " %s", nxt_process_argv[i]);
@@ -274,7 +273,7 @@ nxt_master_start_controller_process(nxt_task_t *task, nxt_runtime_t *rt)
}
init->start = nxt_controller_start;
- init->name = "controller process";
+ init->name = "controller";
init->user_cred = &rt->user_cred;
init->port_handlers = nxt_controller_process_port_handlers;
init->signals = nxt_worker_process_signals;
@@ -298,7 +297,7 @@ nxt_master_start_router_process(nxt_task_t *task, nxt_runtime_t *rt)
}
init->start = nxt_router_start;
- init->name = "router process";
+ init->name = "router";
init->user_cred = &rt->user_cred;
init->port_handlers = nxt_router_process_port_handlers;
init->signals = nxt_worker_process_signals;