[Zope-Coders] Re: runzope - but no stopzope in Zope 2.7?
Christian Heimes
heimes at faho.rwth-aachen.de
Thu Nov 20 20:40:38 EST 2003
Tres Seaver wrote:
> Not recommended for Zope 2.7; either use 'runzope' to run in the
> foreground (in which case Ctrl-C is all you need), or use the controller
> script, 'zopectl'. E.g.::
[snip]
> The 'zopectl' script is designed to be easily integrated into system
> startup utilities (e.g., Redhat 9's init.d / chkconfig), where having a
> single script with 'start', 'stop', 'restart', etc. is important.
I wasn't aware of the abilities of this script. I used it only for
debugging and I had some problems with this script until I checked out
the last cvs 2_7-branch version.
Uhm ... I think I found a bug:
zopectl> reload
Error: 'instancehome' is not a known key name
(line 29 in file:///var/lib/zope/main/etc/zope.conf)
For help, use
/usr/lib/zope/2.7-branch-23/lib/python/Zope/Startup/zopectl.py -h
Configuration not reloaded
etc/zope.conf:
# Directive: instancehome
#
# Description:
# The path to the data files, local product files, import directory,
# and Extensions directory used by Zope.
#
# Required (no default)
#
# Example:
#
# instancehome /home/chrism/projects/sessions
instancehome $INSTANCE
Christian
More information about the Zope-Coders
mailing list