diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-03-09 17:48:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:56:49 -0500 |
commit | 651ca6553edadb2b97339fd3c112fdb6ef6c08bc (patch) | |
tree | 240f124aa3dcf08304c7f4bed6c2e0bd22ed83ed /source4/web_server | |
parent | 60823d1878563c398373ff2c761dd91a588af3b5 (diff) | |
download | samba-651ca6553edadb2b97339fd3c112fdb6ef6c08bc.tar.gz samba-651ca6553edadb2b97339fd3c112fdb6ef6c08bc.tar.bz2 samba-651ca6553edadb2b97339fd3c112fdb6ef6c08bc.zip |
r14079: I just found the setproctitle library from alt linux:-)
- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections
metze
(This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index d8e41a1ff1..05c315e4fa 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -238,6 +238,8 @@ static void websrv_task_init(struct task_server *task) uint16_t port = lp_web_port(); const struct model_ops *model_ops; + task_server_set_title(task, "task[websrv]"); + /* run the web server as a single process */ model_ops = process_model_byname("single"); if (!model_ops) goto failed; |