Take a look at the implementation of apachectl (it's Bourne shell) for the
finer details.
Also have a look at the httpd man page. The syntax contains the answer to your
question:
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ]
[ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop ] [
-R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ]
-ascs
-----Original Message-----
From: Sean Conner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 8:14 AM
To: [email protected]
Subject: Re: [EMAIL PROTECTED] Restart without disconnecting clients
It was thus said that the Great [EMAIL PROTECTED] once stated:
>
> It was thus said that the Great [EMAIL PROTECTED] once stated:
> >
> > Hi,
> > On Linux, can we make Apache (2.0.50) re-read and apply new
> > configuration (new virtual host, changed IP of a existing virtual
> > host, etc) without disconnecting the existing clients for whom there
> > is no configuration change? same is needed for ssl connections.
> > Has anybody worked on this scenario?
>
> Run "apachectl graceful".
>
> It disconnects the ssl connections.
That I did not know. I'm guessing the "-k" option prevents that?
Thanks.
-spc (Learn something new everyday ... )
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]