Commit 0ba74a2b authored by Evan Simpson's avatar Evan Simpson

Move CLIENT_HOME creation to App/FindHomes.py

parent 8c10a283
......@@ -538,16 +538,9 @@ if LOCALE_ID is not None:
# Import ZServer before we open the database or get at interesting
# application code so that ZServer's asyncore gets to be the
# official one. Also gets SOFTWARE_HOME and INSTANCE_HOME
# official one. Also gets SOFTWARE_HOME, INSTANCE_HOME, and CLIENT_HOME
import ZServer
# CLIENT_HOME allows ZEO clients to easily keep distinct pid and
# log files. This is currently an *experimental* feature, as I expect
# that increasing ZEO deployment will cause bigger changes to the
# way that z2.py works fairly soon.
try: CLIENT_HOME = os.environ['CLIENT_HOME']
except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
if Zpid and not READ_ONLY:
import zdaemon, App.FindHomes, posix
sys.ZMANAGED=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment