[svnbook] r4340 committed - Finish Issue 3 ("Add documentation for running svnserve under...

svnbook at googlecode.com svnbook at googlecode.com
Fri Jan 18 15:54:56 CST 2013


Revision: 4340
Author:   cmpilato at gmail.com
Date:     Fri Jan 18 13:54:40 2013
Log:      Finish Issue 3 ("Add documentation for running svnserve under
xinetd").

* en/book/ch06-server-configuration.xml
   (svn.serverconfig.svnserve.invoking.xinetd): New section.

Content by: Zdenek Wagner <zdenek.wagner{__AT__}gmail.com>
             (Tweaked by me.)
http://code.google.com/p/svnbook/source/detail?r=4340

Modified:
  /trunk/en/book/ch06-server-configuration.xml

=======================================
--- /trunk/en/book/ch06-server-configuration.xml	Fri Jan 18 12:13:41 2013
+++ /trunk/en/book/ch06-server-configuration.xml	Fri Jan 18 13:54:40 2013
@@ -592,6 +592,50 @@
            configuration line as well, to restrict which repositories
            are exported.</para>

+      </sect3>
+
+      <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->
+      <sect3 id="svn.serverconfig.svnserve.invoking.xinetd">
+        <title>svnserve via xinetd</title>
+
+        <para><command>xinetd</command> is a replacement of
+          the <command>inet</command> daemon which is used mainly in
+          Redhat-based distributions.  In order to
+          configure <command>svnserve</command>
+          for <command>xinetd</command>, you'll need to create a
+          configuration file <filename>/etc/xinetd.d/svn</filename>
+          with the following contents:</para>
+
+        <informalexample>
+          <programlisting>
+# default: on
+# description: Subversion server for the svn protocol
+service svn
+{
+  disabled        = no
+  port            = 3690
+  socket_type     = stream
+  protocol        = tcp
+  wait            = no
+  user            = subversion
+  server          = /usr/local/bin/svnserve
+  server_args     = -i -r <replaceable>/path/to/repositories</replaceable>
+}
+</programlisting>
+        </informalexample>
+
+        <para>Be sure that your <filename>/etc/services</filename>
+          configuration file contains the definition of the port used
+          for the <literal>svn</literal> protocol (as described in
+          <xref linkend="svn.serverconfig.svnserve.invoking.xinetd"
+          />), otherwise the daemon will not start correctly.</para>
+
+        <para>In Redhat-based distributions, you then need to activate
+          the new service using <command>chkconfig --add
+          svn</command>.  After doing so, you will be able to enable
+          and disable the server using the graphical configuration
+          tools.</para>
+
        </sect3>

        <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
-->




More information about the svnbook-dev mailing list