[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnserve privilege changing/dropping command line options patch

From: Marcus Rueckert <darix_at_web.de>
Date: 2005-04-26 13:40:12 CEST

On 2005-04-26 08:52:31 +0200, Tom Rune Flo wrote:
> One reason would be if you want to start svnserve automatically during
> boot time, as you probably do with most of your other daemonized servers.
> You could of course write some sort of wrapper for this, but to me it
> makes a lot more sense for svnserve to be able to set uid/gid by itself.

just some examples:
# suse
$ startproc -u svn -g svn -e /usr/bin/svnserve -d -r /srv/svn/repositories

# debian
$ start-stop-daemon --start --chuid svn --group svn --exec /usr/bin/svnserve -- -d -r /srv/svn/repositories

# general
sudo -u svn "/usr/bin/svnserve -d -r /srv/svn/repositories"

i think this are enough solutions which all work.


irssi - the client of the smart and beautiful people
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 13:41:22 2005

This is an archived mail posted to the Subversion Dev mailing list.