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 ...@@ -13,11 +13,17 @@ recipe = plone.recipe.zeoserver
zeo-address = 8100 zeo-address = 8100
eggs = eggs =
${eggs: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] [zeo-client-template]
<= zope-instance-template <= zope-instance-template
zeo-client = on zeo-client = on
zeo-address = ${zeo_server:zeo-address} 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-front1]
<= zeo-client-template <= zeo-client-template
......
[buildout] [buildout]
parts = zope-instance parts = zope-instance
[zope-instance-template] [zope-instance]
recipe = erp5.recipe.zope2instance recipe = erp5.recipe.zope2instance
eggs = ${eggs:eggs} eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths} extra-paths = ${eggs:extra-paths}
...@@ -15,3 +15,10 @@ zope-conf-additional = ...@@ -15,3 +15,10 @@ zope-conf-additional =
method /Control_Panel/timer_service/process_timer?interval:int=5 method /Control_Panel/timer_service/process_timer?interval:int=5
period 5 period 5
</clock-server> </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 [buildout]
# be instaciated by another recipe. parts = zope-instance
[zope-instance-template] [zope-instance]
recipe = erp5.recipe.zope2instance recipe = erp5.recipe.zope2instance
eggs = ${eggs:eggs} eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths} extra-paths = ${eggs:extra-paths}
...@@ -16,3 +16,10 @@ zope-conf-additional = ...@@ -16,3 +16,10 @@ zope-conf-additional =
<timer-server> <timer-server>
interval 5 interval 5
</timer-server> </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 = ...@@ -16,6 +16,7 @@ extends =
../instance-profiles/supervisor.cfg ../instance-profiles/supervisor.cfg
../instance-profiles/testing.cfg ../instance-profiles/testing.cfg
../instance-profiles/testrunner.cfg ../instance-profiles/testrunner.cfg
../instance-profiles/zeo.cfg
../instance-profiles/zope-2.12.cfg ../instance-profiles/zope-2.12.cfg
../profiles/common.cfg ../profiles/common.cfg
../profiles/software-definition.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