aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gross-svn/gross-svn.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gross-svn/gross-svn.initd')
-rw-r--r--testing/gross-svn/gross-svn.initd36
1 files changed, 0 insertions, 36 deletions
diff --git a/testing/gross-svn/gross-svn.initd b/testing/gross-svn/gross-svn.initd
deleted file mode 100644
index 00ee33e560..0000000000
--- a/testing/gross-svn/gross-svn.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/runscript
-
-NAME="grossd"
-DAEMON="/usr/sbin/$NAME"
-USER="gross"
-GROUP="gross"
-
-depend() {
- need net
- after firewall
-}
-
-check_config() {
- if [ ! -f /var/db/gross/state ] ; then
- einfo "Generating Gross database..."
- install -dD -o${USER} -g${GROUP} /var/db/gross
- ${DAEMON} -Cu ${USER} > /dev/null
- fi
-}
-
-start() {
- check_config || return 1
- ebegin "Starting ${NAME}"
- start-stop-daemon --start --quiet --background \
- --exec ${DAEMON} -- \
- -p /var/run/gross/grossd.pid \
- -u ${USER} ${OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${NAME}"
- start-stop-daemon --stop --pidfile /var/run/gross/grossd.pid
- eend $?
-}
-