cvs commit: doc/en_US.ISO8859-1/books/handbook/network-servers chapter.sgml

Tom Rhodes trhodes at FreeBSD.org
Thu Mar 17 11:54:25 PST 2005


On Thu, 17 Mar 2005 17:11:05 +0000
Ceri Davies <ceri at submonkey.net> wrote:

> On Thu, Mar 17, 2005 at 07:06:44PM +0200, Giorgos Keramidas wrote:
> > On 2005-03-17 17:32, Denis Peplin <den at FreeBSD.org> wrote:
> > > Tom Rhodes wrote:
> > > >  Modified files:
> > > >    en_US.ISO8859-1/books/handbook/network-servers chapter.sgml
> > >
> > > Please, look at patch attached :)
> > 
> > > Index: network-servers/chapter.sgml
> > > ===================================================================
> > > RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/network-servers/chapter.sgml,v
> > > retrieving revision 1.62
> > > diff -u -r1.62 chapter.sgml
> > > --- network-servers/chapter.sgml	17 Mar 2005 10:36:13 -0000	1.62
> > > +++ network-servers/chapter.sgml	17 Mar 2005 14:27:16 -0000
> > > @@ -4539,7 +4539,12 @@
> > >      &lt;/IfModule&gt;</programlisting>
> > >
> > >  	<para>Once completed, a simple call to the
> > > -	  <command>apachectl</command> command for a graceful
> > > +	  <command>apachectl</command> command for a start
> > > +	  <application>Apache</application>:</para>
> > > +
> > > +	<screen>&prompt.root; <userinput>apachectl start</userinput></screen>
> > > +
> > > +	<para>or, if it is already running, for a graceful
> > >  	  restart:</para>
> 
> >>>MARKER
> 
> > Is this true?  Does it depend on the apache port's version of apachectl?
> > Because apachectl doesn't _restart_ httpd if it's already running here.
> > It merely prints a message like:
> > 
> >     # /home/httpd/bin/apachectl start
> >     httpd (pid 72917) already running
> > 
> > I have manually installed Apache though, since this was a temporary,
> > test installation.  If the apachectl script installed by the port does
> > indeed restart httpd when 'start' is used, then you are right that it
> > should be added.
> 
> I suspect that there is a line at '>>>MARKER' that says "apachectl restart"
> that just doesn't show in the diff.

apachectl graceful should read the new config without actually
restarting httpd.  I avoided using 'start' to avoid that
'already running' issue.

-- 
Tom Rhodes


More information about the cvs-doc mailing list