summaryrefslogtreecommitdiff
path: root/dev-vcs/subversion/files/svnserve.initd3
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-21 22:24:48 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-21 22:24:48 +0300
commitb70efef53cc9de063fe3974dd56d672a92e57a9f (patch)
treeafd40e71be8de842afd562eda001b21abc9019c3 /dev-vcs/subversion/files/svnserve.initd3
parent0fc61a35b43840a592037ab8bf88af6142527e3c (diff)
parent9a2973bcf4baaf0fa7848cd93e45ea1b7cd1a110 (diff)
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'dev-vcs/subversion/files/svnserve.initd3')
-rw-r--r--dev-vcs/subversion/files/svnserve.initd321
1 files changed, 21 insertions, 0 deletions
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 /
+}