[Zope-Checkins] CVS: Zope/skel/bin - runzope.in:1.1.2.1 zopectl.in:1.1.2.1
Fred L. Drake, Jr.
fred@zope.com
Wed, 5 Feb 2003 18:09:14 -0500
Update of /cvs-repository/Zope/skel/bin
In directory cvs.zope.org:/tmp/cvs-serv14077
Added Files:
Tag: new-install-branch
runzope.in zopectl.in
Log Message:
Preliminary guess as to what the scripts here will look like.
=== Added File Zope/skel/bin/runzope.in ===
#! /bin/sh
PYTHON="<<PYTHON>>"
ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>"
SOFTWARE_HOME="$ZOPE_HOME/lib/python"
CONFIG_DIR="$INSTANCE_HOME/etc"
CONFIG_FILE="$CONFIG_DIR/zope.conf"
PYTHONPATH="$SOFTWARE_HOME"
export PYTHONPATH
"$PYTHON" "$ZOPE_HOME/bin/runzope.py" -C "$CONFIG_FILE" "$@"
=== Added File Zope/skel/bin/zopectl.in ===
#! /bin/sh
PYTHON="<<PYTHON>>"
ZOPE_HOME="<<ZOPE_HOME>>"
INSTANCE_HOME="<<INSTANCE_HOME>>"
SOFTWARE_HOME="$ZOPE_HOME/lib/python"
CONFIG_DIR="$INSTANCE_HOME/etc"
CONFIG_FILE="$CONFIG_DIR/zope.conf"
PYTHONPATH="$SOFTWARE_HOME"
export PYTHONPATH
"$PYTHON" "$ZOPE_HOME/bin/zopectl.py" -C "$CONFIG_FILE" "$@"