Commit faff5a13 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

improve supervisord.conf template.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41827 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2f127ef8
......@@ -13,11 +13,17 @@ recipe = plone.recipe.zeoserver
zeo-address = 8100
eggs =
${eggs:eggs}
supervisor-priority = 20
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (redirect_stderr=true stdout_logfile=NONE) ${buildout:parts-directory}/${:_buildout_section_name_}/bin/runzeo
[zeo-client-template]
<= zope-instance-template
zeo-client = on
zeo-address = ${zeo_server:zeo-address}
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (redirect_stderr=true stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf]
[zeo-client-front1]
<= zeo-client-template
......
[buildout]
parts = zope-instance
[zope-instance-template]
[zope-instance]
recipe = erp5.recipe.zope2instance
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
......@@ -15,3 +15,10 @@ zope-conf-additional =
method /Control_Panel/timer_service/process_timer?interval:int=5
period 5
</clock-server>
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (redirect_stderr=true stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf]
# this name is only for backward compatibility
[zope-instance-template]
<= zope-instance
# This configuration only contains a template part which should
# be instaciated by another recipe.
[buildout]
parts = zope-instance
[zope-instance-template]
[zope-instance]
recipe = erp5.recipe.zope2instance
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
......@@ -16,3 +16,10 @@ zope-conf-additional =
<timer-server>
interval 5
</timer-server>
supervisor-priority = 30
supervisor-program =
${:supervisor-priority} ${:_buildout_section_name_} (redirect_stderr=true stdout_logfile=NONE) ${buildout:bin-directory}/runzope [-C ${buildout:parts-directory}/${:_buildout_section_name_}/etc/zope.conf]
# this name is only for backward compatibility
[zope-instance-template]
<= zope-instance
......@@ -16,6 +16,7 @@ extends =
../instance-profiles/supervisor.cfg
../instance-profiles/testing.cfg
../instance-profiles/testrunner.cfg
../instance-profiles/zeo.cfg
../instance-profiles/zope-2.12.cfg
../profiles/common.cfg
../profiles/software-definition.cfg
......
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