colinrmitchell.com

Blog

Starting svnserve

Posted Tuesday, April 19th 2011 in FreeBSD, Linux - Permalink

When starting svnserve to allow access to a repository, Subversion defaults to using IPv6. To override this, use

# svnserve -d --listen-host 192.168.0.11 -r /svnroot

This starts it as a daemon (-d), tells it to use the IPv4 address 192.168.0.11, and uses the repository located at /svnroot.

If you are using FreeBSD, you can automate this process at boot. Edit /etc/rc.conf and add

svnserve_enable="YES"
svnserve_flags="-d --listen-host 192.168.0.11 -r /svnroot"


List Posts Newest Posts Page 1Next Page