diff options
Diffstat (limited to 'www/zope28/files/zope.sh')
-rw-r--r-- | www/zope28/files/zope.sh | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/www/zope28/files/zope.sh b/www/zope28/files/zope.sh deleted file mode 100644 index d4f4e4cd6815..000000000000 --- a/www/zope28/files/zope.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -# Start or stop zope -# $FreeBSD: /tmp/pcvs/ports/www/zope28/files/Attic/zope.sh,v 1.3 2004-07-02 20:41:00 thierry 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/gkrellmd -# -# 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 |