summaryrefslogtreecommitdiff
path: root/www/zope/files/zope.in
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-07-16 17:04:29 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-07-16 17:04:29 +0000
commit473f7fc2dc1cba782abaf6af536acb7a7799336e (patch)
tree7b159a58f19888eb0484be875996578820a05261 /www/zope/files/zope.in
parent- Update to 0.24 (diff)
- remove expired ports
* lang/python24 and lang/python25: unmaintained upstream * www/zope and www/zope211: unmaintained upstream (the only consumers of python24) - clean-up python versions < 2.6 from lang/python-doc-html - clean-up python24/25 from Mk/bsd.ports.mk - add www/zope213 glue to bsd.python.mk - clean-up zope versions != 2.13 from bsd.python.mk Submitted by: miwi (based on) Approved by: portmgr (miwi)
Notes
Notes: svn path=/head/; revision=300956
Diffstat (limited to 'www/zope/files/zope.in')
-rw-r--r--www/zope/files/zope.in39
1 files changed, 0 insertions, 39 deletions
diff --git a/www/zope/files/zope.in b/www/zope/files/zope.in
deleted file mode 100644
index 99414f2d0b3d..000000000000
--- a/www/zope/files/zope.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# Start or stop zope
-# $FreeBSD$
-
-# PROVIDE: zope
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-# 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 zope
-zope_instances=${zope_instances:-""} # List of instancehome dirs
-
-. /etc/rc.subr
-
-name="zope"
-rcvar=zope_enable
-load_rc_config $name
-extra_commands="status"
-
-if checkyesno zope_enable; then
- for instance in $zope_instances; do
- required_files="${instance}/etc/${name}.conf ${instance}/bin/zopectl"
- zope_command="${instance}/bin/zopectl"
- start_cmd="${zope_command} start"
- stop_cmd="${zope_command} stop"
- restart_cmd="${zope_command} restart"
- status_cmd="${zope_command} status"
- echo -n "Zope instance ${instance} -> "
- run_rc_command "$1"
- done
-fi