Page 1 of 1

CentOS, svnserve & xinetd

PostPosted: Tue Oct 15, 2019 3:14 pm
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.