Setup svnserve using inetd

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Setup svnserve using inetd

Post by ^rooker »

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:

Code: Select all

apt-get install subversion
2) Add the following line to /etc/inetd.conf:
svn stream tcp nowait svn /usr/bin/svnserve svnserve -i -r /path/to/your/svn/repository
3) Start(restart) inetd for the config to take effect:
/etc/init.d/inetutils-inetd restart
That's it! :)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply