Re: httpd initd daemon

2009-06-29 Thread Graham Dumpleton
2009/6/29 Yahav bi...@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


Re: httpd initd daemon

2009-06-29 Thread Yahav

many thanks

Graham Dumpleton-2 wrote:
 
 2009/6/29 Yahav bi...@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-tp24251132p24253128.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.



Re: httpd initd daemon

2009-06-29 Thread Yahav

many thanks it is working.

Graham Dumpleton-2 wrote:
 
 2009/6/29 Yahav bi...@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.