On Wed, Mar 21, 2001 at 03:14:33PM +0100, Dario Lopez-K?sten wrote:
> I am trying to understand how z2.py and enviroments variables work, so =
> that I can have complete control of how I start Zope. =
> I-am-not-a-Python-programmer-yet, so I apologise in advance if the =
> question is a stupid one.
> Given the possibility to use INSTANCE_HOME etc, can I override most of =
> the uppercase variables defined in z2.py by setting and exporting them =
> in my /bin/sh script or are the only "overridable" variables the ones =
> defined and used in=20
>    lib/python/App/FindHomes.py?
> My guess would be the ones in FindHomes.py, as calls like=20
>   try: home=3Dos.environ['SOFTWARE_HOME']
> seems to have something to do with it :-)

You can override them by setting environment variables. For a specific
example where INSTANCE_HOME is set see:


Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to