httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Dumpleton <graham.dumple...@gmail.com>
Subject Re: httpd initd daemon
Date Mon, 29 Jun 2009 10:04:02 GMT
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

Mime
View raw message