aboutsummaryrefslogtreecommitdiff
path: root/www/zope29/files/zeo29.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope29/files/zeo29.sh.in')
-rw-r--r--www/zope29/files/zeo29.sh.in65
1 files changed, 0 insertions, 65 deletions
diff --git a/www/zope29/files/zeo29.sh.in b/www/zope29/files/zeo29.sh.in
deleted file mode 100644
index c96f0c63e3e8..000000000000
--- a/www/zope29/files/zeo29.sh.in
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# Startup script for Zeo server.
-#
-# $FreeBSD$
-#
-
-# PROVIDE: zeo29
-# REQUIRE: DAEMON
-# BEFORE: zope29
-
-# Define these zeo29_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/zeo29
-#
-# zeo29_enable : bool
-# Enable Zeo ("YES") or not ("NO", the default).
-#
-# zeo29_instances : list
-# List of dirs with Zeo's instances ("" by default).
-#
-
-. /etc/rc.subr
-
-name="zeo29"
-rcvar=`set_rcvar`
-
-zeo29ctl () {
- for instance in $zeo29_instances; do
- if [ -d ${instance} ]; then
- echo -n " Zeo instance ${instance} -> "
- ${instance}/bin/zeoctl "$1"
- fi
- done
-}
-
-zeo29_start () {
- echo "Starting Zeo 2.9:"
- zeo29ctl "start"
-}
-
-zeo29_stop () {
- echo "Stopping Zeo 2.9:"
- zeo29ctl "stop"
-}
-
-zeo29_restart () {
- echo "Restarting Zeo 2.9:"
- zeo29ctl "restart"
-}
-
- start_cmd="zeo29_start"
- stop_cmd="zeo29_stop"
-restart_cmd="zeo29_restart"
-
-load_rc_config $name
-
-: ${zeo29_enable="NO"}
-
-cmd="$1"
-[ $# -gt 0 ] && shift
-[ -n "$*" ] && zeo29_instances="$*"
-
-run_rc_command "${cmd}"