[Zodb-checkins] SVN: ZODB/branches/3.3/src/ZEO/mkzeoinst.py Include INSTANCE_HOME in the runzeo and zeoctl startup scripts from the get-go;

Martijn Pieters mj at zopatista.com
Fri Aug 12 09:39:17 EDT 2005


Log message for revision 37887:
  Include INSTANCE_HOME in the runzeo and zeoctl startup scripts from the get-go;
  this helps poor schmucks like me who have to make app-level conflict resolution
  work in Products as well. Including INSTANCE_HOME makes sure ZEO can find the
  product code in the first place.
  

Changed:
  U   ZODB/branches/3.3/src/ZEO/mkzeoinst.py

-=-
Modified: ZODB/branches/3.3/src/ZEO/mkzeoinst.py
===================================================================
--- ZODB/branches/3.3/src/ZEO/mkzeoinst.py	2005-08-12 13:38:36 UTC (rev 37886)
+++ ZODB/branches/3.3/src/ZEO/mkzeoinst.py	2005-08-12 13:39:17 UTC (rev 37887)
@@ -94,12 +94,13 @@
 # description: start a %(PACKAGE)s server
 
 PYTHON="%(python)s"
+INSTANCE_HOME="%(instance_home)s"
 ZODB3_HOME="%(zodb3_home)s"
 
 CONFIG_FILE="%(instance_home)s/etc/%(package)s.conf"
 
 PYTHONPATH="$ZODB3_HOME"
-export PYTHONPATH
+export PYTHONPATH INSTANCE_HOME
 
 ZEOCTL="$ZODB3_HOME/ZEO/zeoctl.py"
 
@@ -111,12 +112,13 @@
 # %(PACKAGE)s instance start script
 
 PYTHON="%(python)s"
+INSTANCE_HOME="%(instance_home)s"
 ZODB3_HOME="%(zodb3_home)s"
 
 CONFIG_FILE="%(instance_home)s/etc/%(package)s.conf"
 
 PYTHONPATH="$ZODB3_HOME"
-export PYTHONPATH
+export PYTHONPATH INSTANCE_HOME
 
 RUNZEO="$ZODB3_HOME/ZEO/runzeo.py"
 



More information about the Zodb-checkins mailing list