Commit d12a118f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

unfortunately, LD_LIBRARY_PATH should be set in runzope process itself.

cf. with zopectl, new python process is invoked with environment variables written in zope.conf and it works well.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42304 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32bae836
......@@ -23,7 +23,7 @@ zeo-client = on
zeo-address = ${zeo-server:zeo-address}
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE environment=LD_LIBRARY_PATH=${software_definition:software_home}/parts/file/lib) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true
[zeo-client-1]
<= zeo-client-template
......
......@@ -17,7 +17,7 @@ zope-conf-additional =
</timer-server>
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE environment=LD_LIBRARY_PATH=${software_definition:software_home}/parts/file/lib) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf] true
# this name is only for backward compatibility
[zope-instance-template]
......
......@@ -18,7 +18,7 @@ zope-conf-additional =
</timer-server>
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE) ${buildout:parts-directory}/${:_buildout_section_name_}/bin/runzope true
${:supervisor-priority} ${:_buildout_section_name_} (stdout_logfile=NONE environment=LD_LIBRARY_PATH=${software_definition:software_home}/parts/file/lib) ${buildout:parts-directory}/${:_buildout_section_name_}/bin/runzope true
# this name is only for backward compatibility
[zope-instance-template]
......
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