diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2005-08-25 13:59:48 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2005-08-25 13:59:48 +0000 |
commit | c4714d156398dbc0f2d2397be82e593b15e629cd (patch) | |
tree | 385a3a43d11135e4a39b139d58e0869117e0972d /dev-util/subversion/files | |
parent | add ~ia64 #103250 (diff) | |
download | historical-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.initd | 5 |
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} -- \ |