[ZCM] [ZC] 2008/ 1 Request "Current Directory Not Set at Zope Startup"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sun Jan 22 13:46:34 EST 2006


Issue #2008 Update (Request) "Current Directory Not Set at Zope Startup"
 Status Pending, Zope/bug low
To followup, visit:
  http://www.zope.org/Collectors/Zope/2008

==============================================================
= Request - Entry #1 by Anonymous User on Jan 22, 2006 1:46 pm

Upon starting Zope 2, using either the "bin/runzope" or "bin/zopectl start" methods, the current directory of the Zope process(es) is left at whereever you were when you ran those scripts.

It would be better if those two scripts had one line added:

    cd $INSTANCE_HOME

for a consistent starting point.  In my case the problem was relative-path LocalFS folders that became valid or invalid depending upon where you were when you restarted Zope.  It can also bite people who may be reading/writing ordinary files/logs in external methods.

==============================================================



More information about the Zope-Collector-Monitor mailing list