View Single Post

  #6 (permalink)  
Old 12-21-2006
Mike
 
Posts: n/a
Default Re: Soft apache stopping


max wrote:
> Mike a écrit :
>
>
> >
> > man apachectl <--- Please READ
> >
> > You're looking for the graceful flag to apachectl"
> >
> > 'apachectl graceful'

>
> I have read it but graceful flag doesn't do what I want. graceful
> restart the server but I want to stop it for running scripts.
> Graceful-stop doesn't work on my server (RedHat Enterprise 3, apache
> 2.0.46).
> I think what i want is the graceful-stop but nothing in the manpage and
> command doesn't work.
> Is someone know when this command appear on apachectl ?
>
> thanks for help me.
>
> --
> Max


Yes, it seems as Apache 2.0 doesn't support 'apachectl graceful-stop'
something you may want to try is something like: 'apachectl graceful
&& apachectl stop' and that will probably be the cleanest way to stop
apache.