Commit 27ec88ae authored by Jérome Perrin's avatar Jérome Perrin

software/erp5: start TimerService from zopewsgi (WIP)

wip use my erp5 branch
parent 0a90e829
Pipeline #19036 running with stage
...@@ -333,9 +333,10 @@ wcfs-enable-default = false ...@@ -333,9 +333,10 @@ wcfs-enable-default = false
[erp5] [erp5]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/aurel/erp5.git repository = https://lab.nexedi.com/jerome/erp5.git
branch = py2zope4 branch = py2zope4
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
develop = true
[testrunner] [testrunner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not # XXX: Workaround for fact ERP5Type is not an distribution and does not
......
...@@ -34,7 +34,7 @@ md5sum = cfe4696a67bf4886a5d8252a5274a941 ...@@ -34,7 +34,7 @@ md5sum = cfe4696a67bf4886a5d8252a5274a941
[template-zope-conf] [template-zope-conf]
filename = zope.conf.in filename = zope.conf.in
md5sum = 55ef458b03c8fff3792f28fcca46d7f9 md5sum = 4ca51bc61b4de16a41a02471b8e59e74
[site-zcml] [site-zcml]
filename = site.zcml filename = site.zcml
......
...@@ -72,12 +72,14 @@ trusted-proxy 0.0.0.0 ...@@ -72,12 +72,14 @@ trusted-proxy 0.0.0.0
</product-config> </product-config>
{% if not parameter_dict['wsgi'] -%}
{% set timerserver_interval = parameter_dict['timerserver-interval'] -%} {% set timerserver_interval = parameter_dict['timerserver-interval'] -%}
{% if timerserver_interval -%} {% if timerserver_interval -%}
%import Products.TimerService.timerserver %import Products.TimerService.timerserver
<timer-server> <timer-server>
interval {{ timerserver_interval }} interval {{ timerserver_interval }}
</timer-server> </timer-server>
{% endif %}
{% endif -%} {% endif -%}
{% set sql_connection_string = parameter_dict.get('sql-connection-string') -%} {% set sql_connection_string = parameter_dict.get('sql-connection-string') -%}
......
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