You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Enrico Weigelt <we...@metux.de> on 2005/07/09 17:39:35 UTC

non-detaching httpd

Hi folks,


I'd like to stop httpd from detaching itself, so I can start
it from init. 

How can this be done ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Re: non-detaching httpd

Posted by Rasmus Lerdorf <ra...@lerdorf.com>.
Enrico Weigelt wrote:
> Hi folks,
> 
> 
> I'd like to stop httpd from detaching itself, so I can start
> it from init. 
> 
> How can this be done ?

httpd -X  if you want a single non-forking non-detached process
httpd -F  if you just want the main process to be non-detached and still
          have it fork off children

-Rasmus