[Zope-Checkins] CVS: Zope/skel/bin - runzope.in:1.3.2.2 runzope.py.in:NONE
Chris McDonough
chrism@zope.com
Sun, 6 Jul 2003 23:03:58 -0400
Update of /cvs-repository/Zope/skel/bin
In directory cvs.zope.org:/tmp/cvs-serv20809
Added Files:
Tag: Zope-2_7-branch
runzope.in
Removed Files:
Tag: Zope-2_7-branch
runzope.py.in
Log Message:
Duh. runzope isn't a Python script.
=== Zope/skel/bin/runzope.in 1.3.2.1 => 1.3.2.2 ===
--- /dev/null Sun Jul 6 23:03:58 2003
+++ Zope/skel/bin/runzope.in Sun Jul 6 23:03:54 2003
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+PYTHON="<<PYTHON>>"
+ZOPE_HOME="<<ZOPE_HOME>>"
+INSTANCE_HOME="<<INSTANCE_HOME>>"
+
+CONFIG_FILE="$INSTANCE_HOME/etc/zope.conf"
+
+PYTHONPATH="$ZOPE_HOME/lib/python"
+export PYTHONPATH
+
+ZOPE_RUN="$ZOPE_HOME/lib/python/Zope/Startup/run.py"
+
+exec "$PYTHON" "$ZOPE_RUN" -C "$CONFIG_FILE" "$@"
=== Removed File Zope/skel/bin/runzope.py.in ===