[Zodb-checkins] SVN: ZODB/branches/3.4/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:38:37 EDT 2005


Log message for revision 37886:
  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.4/src/ZEO/mkzeoinst.py

-=-
Modified: ZODB/branches/3.4/src/ZEO/mkzeoinst.py
===================================================================
--- ZODB/branches/3.4/src/ZEO/mkzeoinst.py	2005-08-12 11:39:37 UTC (rev 37885)
+++ ZODB/branches/3.4/src/ZEO/mkzeoinst.py	2005-08-12 13:38:36 UTC (rev 37886)
@@ -95,12 +95,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"
 
@@ -112,12 +113,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