httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yahav <bi...@lucent.com>
Subject Re: httpd initd daemon
Date Mon, 29 Jun 2009 12:18:24 GMT

many thanks it is working.

Graham Dumpleton-2 wrote:
> 
> 2009/6/29 Yahav <biran@lucent.com>:
>>
>> i would like to set the httpd instance to run as standard linux daemon.
>> the
>> daemon should be controlled by the init daemon. the problem is that the
>> apachectl that runs the httpd is starting the main server process then
>> forking N StarServers and return 0 or something else. I would like it to
>> be
>> hang while it run i.e. right before exiting addin select command that
>> will
>> listen on some signal, like SIGTERM.
>> is there any way to add it? if so can somebody recomands what is the best
>> place to make the change? is there allready such feature?
> 
> Have you tried:
> 
>   httpd -DFOREGROUND
> 
> instead of apachectl.
> 
> Read the httpd manual page and Google search on that for more information.
> 
> Graham
> 
> 

-- 
View this message in context: http://www.nabble.com/httpd-initd-daemon-tp24251132p24253136.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


Mime
View raw message