CentOS, svnserve & xinetd

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 342
Joined: Tue Nov 12, 2013 2:05 am

CentOS, svnserve & xinetd

Post by peter_b »

Tested on CentOS 7.6.1810. (subversion 1.7.14, xinetd 2.3.15)

Install the following packages:

Code: Select all

subversion xinetd
1) Create a new subversion repository in "/opt/svn/test"

2) Then, copy/paste the following contents into "/etc/xinetd.d/svnserve":
# default: on
# description: Subversion-Server für das svn-Protokoll
service svn
{
disable = no
port = 3690
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/svnserve
server_args = -i -r /opt/svn/
}
Then, restart xinetd to load the new config:

Code: Select all

$ systemctl restart xinetd
That should be it.
Post Reply