From 1dbd9d236db089781740ffb2c7de0c4ca23f4146 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sun, 12 Apr 2015 18:16:19 +0300 Subject: [dev-vcs/subversion] new version and patch --- dev-vcs/subversion/files/svnserve.initd3 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-vcs/subversion/files/svnserve.initd3 (limited to 'dev-vcs/subversion/files') diff --git a/dev-vcs/subversion/files/svnserve.initd3 b/dev-vcs/subversion/files/svnserve.initd3 new file mode 100644 index 00000000..2a4fd4b0 --- /dev/null +++ b/dev-vcs/subversion/files/svnserve.initd3 @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/files/svnserve.initd3,v 1.1 2015/04/09 12:58:45 polynomial-c Exp $ + +description="svn server" +pidfile="/var/run/svnserve.pid" +command="/usr/bin/svnserve" +command_args="--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}" +command_background="true" +start_stop_daemon_args="-u ${SVNSERVE_USER:-apache} -g ${SVNSERVE_GROUP:-apache}" + +depend() { + need net +} + +start_pre() { + # Ensure that we run from a readable working dir, and that we do not + # lock filesystems when being run from such a location. + cd / +} -- cgit v1.2.3