diff --git a/software/slaprunner/common.cfg b/software/slaprunner/common.cfg index 004301c6c8c417bb78afc21545c8e85d113600a1..b4b8a5ea68d6e23de605230cf7f19d08264360a2 100644 --- a/software/slaprunner/common.cfg +++ b/software/slaprunner/common.cfg @@ -147,7 +147,7 @@ mode = 0644 [template-supervisord] recipe = hexagonit.recipe.download url = ${:_profile_base_location_}/template/${:filename} -md5sum = 239fe88e1522afe7686572dd34568720 +md5sum = 069e593e50204b227bdb08d29d7292fd location = ${buildout:parts-directory}/${:_buildout_section_name_} filename = supervisord.conf.in download-only = true diff --git a/software/slaprunner/template/supervisord.conf.in b/software/slaprunner/template/supervisord.conf.in index 8cf1b28b555839eaedc34419d47dbc33babbe234..2c6511075c3b827e8e054d24d4e060659439d4c9 100644 --- a/software/slaprunner/template/supervisord.conf.in +++ b/software/slaprunner/template/supervisord.conf.in @@ -26,7 +26,7 @@ autorestart = {{ supervisord['autorestart'] }} stdout_logfile = {{ supervisord['no_logfile'] }} stderr_logfile = {{ supervisord['no_logfile'] }} directory = {{ supervisord['directory'] }} -environment = PATH="{{- supervisord['path'] -}}",MAKEFLAGS="-j{{- '%d' % builtin.max(1, (multiprocessing.cpu_count() / builtin.int(slapparameter_dict.get('cpu-usage-ration', 4)))) -}}" +environment = PATH="{{- supervisord['path'] -}}",MAKEFLAGS="-j{{- '%d' % builtin.max(1, (multiprocessing.cpu_count() / builtin.int(slapparameter_dict.get('cpu-usage-ratio', 4)))) -}}" [program:{{- supervisord['slapgrid-cp'] -}}] command = {{ supervisord['slapgrid-cp-command'] }}