I am trying to run svnserve on startup on an Ubuntu Server 10.04 machine using xinetd (as suggested here).
My repositories are at /home/svn, so the directory should be the same as in the example. Following the example, the owner should be www-data, I assume. (Is that right?) I've also tried the admin user account as as the svnowner (the one used to set the svnserver up).
I've never done any shell scripting, so I tried xinetd instead of using the startup script. But if I don't get any feedback for using xinetd that will be my next course of option.
For reference, the link above suggests adding
Code:
svn stream tcp nowait svnowner /usr/bin/svnserve svnserve -i -r /home/svn
to the /etc/inetd.conf file, replacing svnowner and /home/svn to the appropriate values (although I'm not 100% sure what those should be). I assume since I did a chown on the repo to www-data that www-data is the owner I need to put in that line, but it doesn't work.
It's just annoying to have to ssh in and type
Code:
svnserve -d --foreground -r /home/svn
every time I reboot.
Thank you all in advance for your help,
Zanthir
Bookmarks