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