Setup svnserve using inetd
Posted: Tue Nov 01, 2011 11:15 am
There are several ways to run your own SVN repository server - and one of the most convenient ways to get one up and running is "svnserve".
Since I've been running svnserve on my server for several years now, I forgot how to set it up. I remembered that I've used inetd-config to start it, but browsing the web for HowTos pointed me to startup-scripts for svnserve directly. I was confused.
So I decided to write this one-line-howto in case someone else rather wants to use inetd.
1) Install subversion package
"svnserve" comes with the default subversion package, so just install the package "subversion" to get it:
2) Add the following line to /etc/inetd.conf:

Since I've been running svnserve on my server for several years now, I forgot how to set it up. I remembered that I've used inetd-config to start it, but browsing the web for HowTos pointed me to startup-scripts for svnserve directly. I was confused.
So I decided to write this one-line-howto in case someone else rather wants to use inetd.
1) Install subversion package
"svnserve" comes with the default subversion package, so just install the package "subversion" to get it:
Code: Select all
apt-get install subversion
3) Start(restart) inetd for the config to take effect:svn stream tcp nowait svn /usr/bin/svnserve svnserve -i -r /path/to/your/svn/repository
That's it!/etc/init.d/inetutils-inetd restart
