summaryrefslogtreecommitdiff
path: root/devel/subversion-freebsd/files/svnserve.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/subversion-freebsd/files/svnserve.in')
-rw-r--r--devel/subversion-freebsd/files/svnserve.in35
1 files changed, 0 insertions, 35 deletions
diff --git a/devel/subversion-freebsd/files/svnserve.in b/devel/subversion-freebsd/files/svnserve.in
deleted file mode 100644
index 809bf08c440e..000000000000
--- a/devel/subversion-freebsd/files/svnserve.in
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# svnserve.sh for rc.d usage (c) 2005 Thomas E. Spanjaard.
-# $Id$
-
-# PROVIDE: svnserve
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable SVNServe:
-#
-# svnserve_enable="YES"
-# # optional
-# svnserve_flags="-d --listen-port=3690"
-# svnserve_data="/usr/local/repositories"
-# svnserve_user="svn"
-# svnserve_group="svn"
-
-. "%%RC_SUBR%%"
-
-# Set some defaults
-svnserve_enable=${svnserve_enable:-"NO"}
-svnserve_flags=${svnserve_flags:-"-d --listen-port=3690"}
-svnserve_data=${svnserve_data:-"%%PREFIX%%/repositories"}
-svnserve_user=${svnserve_user:-"svn"}
-svnserve_group=${svnserve_group:-"svn"}
-
-name=svnserve
-rcvar=`set_rcvar`
-load_rc_config $name
-command=%%PREFIX%%/bin/svnserve%%SVNSERVE_BIN_EXT%%
-command_args="-r ${svnserve_data}"
-
-run_rc_command "$1"