[Zope] Help! I Screwed Up a Source File

beno zope at 2012.vi
Tue Sep 5 07:01:59 EDT 2006


Hi;
I inherited this box so I don't know exactly how this file got built; 
however, it's python 2.3.5 and zope 2.7.8. I apparently screwed up this 
file:
278/lib/python/Zope/Startup/zeoctl
which incorrectly reads like this:

#!/bin/sh
# ZEO instance control script

# The following two lines are for chkconfig.  On Red Hat Linux (and
# some other systems), you can copy or symlink this script into
# /etc/rc.d/init.d/ and then use chkconfig(8) to automatically start
# ZEO at boot time.

# chkconfig: 345 90 10
# description: start a ZEO server

PYTHON="/usr/local/zope/py235/bin/python"
ZODB3_HOME="/usr/local/zope/278/lib/python"

CONFIG_FILE="/usr/local/zope/instance2/var/zeo/etc/zeo.conf"

PYTHONPATH="$ZODB3_HOME"
export PYTHONPATH

ZEOCTL="$ZODB3_HOME/ZEO/zeoctl.py"

exec "$PYTHON" "$ZEOCTL" -C "$CONFIG_FILE" ${1+"$@"}
~

Where can I grab a copy of the correct file?
TIA,
beno


More information about the Zope mailing list