[Zope-Checkins] CVS: Zope/skel/bin - runzope.in:1.3 zopectl.in:1.3

Richard Jones rjones@ekit-inc.com
Fri, 4 Apr 2003 00:03:49 -0500


Update of /cvs-repository/Zope/skel/bin
In directory cvs.zope.org:/tmp/cvs-serv1086/skel/bin

Modified Files:
	runzope.in zopectl.in 
Log Message:
I've fixed the various scripts etc. in the CVS so that I can now install a ZEO client/server setup. The way it actually ended up working is:

- runzope.py and zopectl.py are moved to Zope/Startup/run.py and Zope/zdaemon/zopectl.py respectively
- bin/mkzopeinstance now takes a "-z/--zeo host:port" which sets up a custom_zodb.py in the new zope instance home
- bin/mkzeoinstance now overrides less, because...
- ZEO/mkzeoinst.py generates an additional script, runzeo, which is the "runner" for the ZEO server. Both it an the zeoctl script need to know about the ZOPE_HOME, so that's been added to the scripts (via the params)
- fixed setup.py so it installed ZEO/schema.xml



=== Zope/skel/bin/runzope.in 1.2 => 1.3 ===
--- Zope/skel/bin/runzope.in:1.2	Tue Mar 18 16:22:02 2003
+++ Zope/skel/bin/runzope.in	Fri Apr  4 00:03:48 2003
@@ -9,4 +9,6 @@
 PYTHONPATH="$ZOPE_HOME/lib/python"
 export PYTHONPATH
 
-exec "$PYTHON" "$ZOPE_HOME/bin/runzope.py" -C "$CONFIG_FILE" "$@"
+ZOPE_RUN="$ZOPE_HOME/lib/python/Zope/Startup/run.py"
+
+exec "$PYTHON" "$ZOPE_RUN" -C "$CONFIG_FILE" "$@"


=== Zope/skel/bin/zopectl.in 1.2 => 1.3 ===
--- Zope/skel/bin/zopectl.in:1.2	Tue Mar 18 16:22:02 2003
+++ Zope/skel/bin/zopectl.in	Fri Apr  4 00:03:48 2003
@@ -9,6 +9,6 @@
 PYTHONPATH="$ZOPE_HOME/lib/python"
 export PYTHONPATH
 
-ZDCTL="$ZOPE_HOME/bin/zopectl.py"
+ZDCTL="$ZOPE_HOME/lib/python/Zope/Startup/zopectl.py"
 
 exec "$PYTHON" "$ZDCTL" -C "$CONFIG_FILE" "$@"