summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2005-08-25 13:59:48 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2005-08-25 13:59:48 +0000
commitc4714d156398dbc0f2d2397be82e593b15e629cd (patch)
tree385a3a43d11135e4a39b139d58e0869117e0972d /dev-util/subversion/files
parentadd ~ia64 #103250 (diff)
downloadhistorical-c4714d156398dbc0f2d2397be82e593b15e629cd.tar.gz
historical-c4714d156398dbc0f2d2397be82e593b15e629cd.tar.bz2
historical-c4714d156398dbc0f2d2397be82e593b15e629cd.zip
Change the svnserve init script's working dir to /
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-util/subversion/files')
-rw-r--r--dev-util/subversion/files/svnserve.initd5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/subversion/files/svnserve.initd b/dev-util/subversion/files/svnserve.initd
index 7c43cc1ca83a..7b7c4c84416d 100644
--- a/dev-util/subversion/files/svnserve.initd
+++ b/dev-util/subversion/files/svnserve.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/files/svnserve.initd,v 1.1 2004/11/12 18:48:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/files/svnserve.initd,v 1.2 2005/08/25 13:59:48 pauldv Exp $
depend() {
need net
@@ -9,6 +9,9 @@ depend() {
start() {
ebegin "Starting svnserve"
+ # Ensure that we run from a readable working dir, and that we do not
+ # lock filesystems when being run from such a location.
+ 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} -- \