[SvnBook] #100: ch06: svnserve via xinetd
SvnBook
noreply at red-bean.com
Mon Mar 31 21:15:41 CDT 2008
#100: ch06: svnserve via xinetd
-------------------------+--------------------------------------------------
Reporter: cmpilato | Owner: sussman
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: content | Version: nightly/trunk
Keywords: |
-------------------------+--------------------------------------------------
Here's a drive-by patch (of sorts):
{{{
Date: Thu, 27 Sep 2007 00:40:25 +0200
From: "Zdenek Wagner" <zdenek.wagner {at} gmail.com>
To: svnbook-dev at red-bean.com
Subject: Running subversion under xinetd
Hello,
the svnbook contains instructions how to run subversion under inetd
but instructions for using xinetd are missing. Please add the
following information which I tested on my computer:
========================
svnserve via xinetd
xinetd is a replacement of the inet daemon which is used mainly in
Redhat based distributions. In order to configure svnserve for xinetd,
create file /etc/xinetd.d/svn vith the following contents:
# 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 /path/to/subversion/repositories
}
Be sure that your /etc/services contains the definition of the prot
for svn as described in the section "svnserve via inetd". Without
proper setting the daemon will not start.
In Redhat based distributions you can issue the command:
chkconfig --add svn
You will then be able to switch the server on and off from the
graphical configuration tools.
}}}
--
Ticket URL: <http://svnbook.red-bean.com/trac/ticket/100>
SvnBook <http://svnbook.red-bean.com/>
More information about the svnbook-dev
mailing list