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
[erp5]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/aurel/erp5.git
repository = https://lab.nexedi.com/jerome/erp5.git
branch = py2zope4
git-executable = ${git:location}/bin/git
develop = true
[testrunner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
......
......@@ -34,7 +34,7 @@ md5sum = cfe4696a67bf4886a5d8252a5274a941
[template-zope-conf]
filename = zope.conf.in
md5sum = 55ef458b03c8fff3792f28fcca46d7f9
md5sum = 4ca51bc61b4de16a41a02471b8e59e74
[site-zcml]
filename = site.zcml
......
......@@ -72,12 +72,14 @@ trusted-proxy 0.0.0.0
</product-config>
{% set timerserver_interval = parameter_dict['timerserver-interval'] -%}
{% if timerserver_interval -%}
{% if not parameter_dict['wsgi'] -%}
{% set timerserver_interval = parameter_dict['timerserver-interval'] -%}
{% if timerserver_interval -%}
%import Products.TimerService.timerserver
<timer-server>
interval {{ timerserver_interval }}
</timer-server>
{% endif %}
{% endif -%}
{% 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