]> granicus.if.org Git - apache/commit
Implement apr_proc_detach changes and allow -DNO_DETACH in the multi-process
authorAaron Bannert <aaron@apache.org>
Thu, 21 Feb 2002 18:52:28 +0000 (18:52 +0000)
committerAaron Bannert <aaron@apache.org>
Thu, 21 Feb 2002 18:52:28 +0000 (18:52 +0000)
commit0786b916cca87a9a925ec72186d512bca2ff6a13
treea5594fd21f9496eff16261a78b4604f33931881e
parentc4afab3428d032dcc3155f9bd6eff22a97de9053
Implement apr_proc_detach changes and allow -DNO_DETACH in the multi-process
mode to not "daemonize" while detaching from the controlling terminal.
This is necessary for Apache to work with process-management tools like
AIX's "System Resource Controller" as well as Dan Bernstein's "daemontools".

What this means is apache must _NOT_ be a process group leader if called
with the -DNO_DETACH flag.

Submitted from:     Jos Backus <josb@cncdsl.com>
Edited/Reviewed by: Aaron Bannert

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93535 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/beos/beos.c
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/mpm/prefork/prefork.c
server/mpm/worker/worker.c