try 'sudo apachectl graceful'

It takes care of all the background stopping, restarting, reloading of 
static modules, etc. AND kills off any spawned child servers that would 
be left running if you only use the apache restart or reload commands.


                                        Jerry

On Friday, November 22, 2002, at 02:28  PM, Lee Larson wrote:

> On Friday, November 22, 2002, at 01:49 PM, Henri Yandell wrote:
>
>> Apologies if you were simplifying things here Lee.
>> Does it really restart it?
>
> I was just keeping it simple and in the process, I was sloppy. Sorry.
>
>> My understanding of -HUP is that it is up to the process as to what it
>> does. Many just reload their config file, but don't restart.
>
> The -HUP option just makes it reread its configuration files, which is 
> usually equivalent to a kill and restart.
>
>> ie) on linux servers, there's a difference between /etc/rc.d/apache 
>> reload
>> and /etc/rc.d/apache restart.
>
> All machines I've used Apache on have a separate program called 
> apachectl which takes these commands. Do a man apachectl on on Mac OS 
> X to see what I mean. It's the same on my Red Hat machine.
>
>
> The next meeting of the Louisville Computer Society will be November 26
> For more information, see <http://www.aye.net/~lcs>. A calendar of
> activities is at <http://www.calsnet.net/macusers>.
>
>
>
>


The next meeting of the Louisville Computer Society will be November 26
For more information, see <http://www.aye.net/~lcs>. A calendar of
activities is at <http://www.calsnet.net/macusers>.


Reply via email to