diff options
Diffstat (limited to 'main/subversion/svnserve.initd')
-rw-r--r-- | main/subversion/svnserve.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/subversion/svnserve.initd b/main/subversion/svnserve.initd index f539a4e2c7..d76f6f3740 100644 --- a/main/subversion/svnserve.initd +++ b/main/subversion/svnserve.initd @@ -17,7 +17,7 @@ start() { cd / start-stop-daemon --start --quiet --background --make-pidfile \ --pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \ - --chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \ + --user ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \ --foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn} eend $? } @@ -35,7 +35,7 @@ setup() { eend 1 "$root/repos already exist" return 1 fi - + svnadmin create "$root"/repos chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "$root/repos" mkdir -p "$root/conf" |