aboutsummaryrefslogtreecommitdiffstats
path: root/main/subversion/svnserve.initd
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-11-25 12:46:26 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 07:15:51 +0000
commitae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch)
treefca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/subversion/svnserve.initd
parent379338be8b4cd31b24080f7f01ae14fe124a84ae (diff)
downloadaports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.bz2
aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.xz
Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776 Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'main/subversion/svnserve.initd')
-rw-r--r--main/subversion/svnserve.initd4
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"