Files
sablink-distro/dev-vcs/subversion/files/svnserve.initd2
T
Sławomir Nizio f2b73666f4 [dev-vcs/subversion*] version bump to 1.7.2
- added ~arm to subversion-java
- incorporated changes (into 1.7.2) made in Portage tree in ebuild for
  version 1.7.1, CVS revision 1.2
- updated files/svnserve.initd2 to sync. it with Portage, too
2012-01-23 02:53:23 +01:00

27 lines
828 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2012 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.initd2,v 1.2 2012/01/14 19:46:34 tommy Exp $
depend() {
need net
}
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 \
--user ${SVNSERVE_USER:-apache} --group ${SVNSERVE_GROUP:-apache} -- \
--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}
eend $?
}
stop() {
ebegin "Stopping svnserve"
start-stop-daemon --stop --quiet --pidfile /var/run/svnserve.pid
eend $?
}