ubuntu - SVN Defining the Root Directory -
i have installed subversion on ubuntu 14.04 lts. have created repository under /home/svnadmin/svn/repo-one. can use toroisesvn connect , view using full path - /home/svnadmin/svn/repo-one.
i make /home/svnadmin/svn root directory svnserve use. have consulted svnserve --help manual , found this:
-r [--root] arg: root of directory serve but when attempt run command:
svnserve -r /home/svnadmin/svn/ when execute command error:
you must specify 1 of -d, -i, -t or -x. can me please? have misunderstood -r command supposed do? i've tried searching answer , can't find solution problem anywhere.
these flags select model process uses listen connections:
-d- run standalone daemon, listening on port itself-i- run xinetd backend, communicating parent process on stdin , stdout-t- in ssh tunnel mode-x- in debug listen mode, accepting single connection stopping.
documentation here. need select one: discussion in comments sounds want -i xinetd mode, , there's sample xinetd configuration in documentation too:
svn stream tcp nowait svnadmin /usr/bin/svnserve svnserve -i -r /home/svnadmin/svn/ assuming have svn 3690/tcp in /etc/services define port, on modern distro.
Comments
Post a Comment