maybe chmod 0644 'conf.d/snmpd'
maybe chmod 0644 'conf.d/snmptrapd'
maybe chmod 0644 'conf.d/sshd'
+maybe chmod 0644 'conf.d/svnserve'
maybe chmod 0644 'conf.d/swap'
maybe chmod 0644 'conf.d/tmpfiles'
maybe chmod 0644 'conf.d/udev'
maybe chmod 0755 'init.d/snmpd'
maybe chmod 0755 'init.d/snmptrapd'
maybe chmod 0755 'init.d/sshd'
+maybe chmod 0755 'init.d/svnserve'
maybe chmod 0755 'init.d/swap'
maybe chmod 0755 'init.d/swclock'
maybe chmod 0755 'init.d/sysctl'
maybe chmod 0755 'xdg/systemd'
maybe chmod 0755 'xinetd.d'
maybe chmod 0644 'xinetd.d/rsyncd'
+maybe chmod 0644 'xinetd.d/svnserve'
maybe chmod 0755 'xml'
maybe chmod 0644 'xml/.keep'
maybe chmod 0644 'xml/.keep_app-text_docbook-xml-dtd-4.1.2'
--- /dev/null
+# The commented variables in this file are the defaults that are used
+# in the init-script. You don't need to uncomment them except to
+# customize them to different values.
+
+# Options for svnserve
+#SVNSERVE_OPTS="--root=/var/svn"
+
+# User and group as which to run svnserve
+#SVNSERVE_USER="svn"
+#SVNSERVE_GROUP="svnusers"
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Id$
+
+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:-svn} -g ${SVNSERVE_GROUP:-svnusers}"
+
+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 /
+}