summaryrefslogtreecommitdiff
path: root/www/zope29/files/zope.sh
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /www/zope29/files/zope.sh
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Notes
Notes: svn path=/head/; revision=127022 svn path=/tags/RELEASE_4_11_0/; revision=127023; tag=release/4.11.0
Diffstat (limited to 'www/zope29/files/zope.sh')
-rw-r--r--www/zope29/files/zope.sh53
1 files changed, 0 insertions, 53 deletions
diff --git a/www/zope29/files/zope.sh b/www/zope29/files/zope.sh
deleted file mode 100644
index 9d4c398f5a2f..000000000000
--- a/www/zope29/files/zope.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-# Start or stop zope
-# $FreeBSD: /tmp/pcvs/ports/www/zope29/files/Attic/zope.sh,v 1.4 2004-11-16 00:02:25 pav Exp $
-
-# PROVIDE: zope
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: FreeBSD shutdown
-#
-prefix=%%PREFIX%%
-
-# Define these zope_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/zope
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-zope_enable=${zope_enable:-"NO"} # Enable gkrellmd
-zope_instances=${zope_instances:-""} # List of instancehome dirs
-
-. %%RC_SUBR%%
-
-name="zope"
-rcvar=`set_rcvar`
-load_rc_config $name
-
-if checkyesno zope_enable; then
-
- case "$1" in
- start)
- echo "Starting Zope"
- ;;
- stop)
- echo "Stopping Zope"
- ;;
- restart)
- echo "Restarting Zope"
- ;;
- *)
- echo "Unknown action \"$1\""
- ;;
- esac
-
- for instance in $zope_instances
- do
- if [ -r ${instance}/etc/${name}.conf -a -x ${instance}/bin/zopectl ]; then
- echo -n " Instance ${instance} -> "
- ${instance}/bin/zopectl $1
- fi
- done
-fi