Commit ca5e2fa6 authored by Jérome Perrin's avatar Jérome Perrin

fixup! software/erp5testnode: restart on config change

parent e7412c55
...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e ...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e
[template-default] [template-default]
filename = instance-default.cfg filename = instance-default.cfg
md5sum = eb3639e304513028cb3c7790edbab2a4 md5sum = 9d7e2e9c525da4f8467bbcc037d1d8b2
...@@ -18,6 +18,7 @@ parts = ...@@ -18,6 +18,7 @@ parts =
resiliency-exclude-file resiliency-exclude-file
shellinabox-frontend-reload shellinabox-frontend-reload
promises promises
testnode-service
[monitor-publish] [monitor-publish]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
...@@ -74,14 +75,14 @@ apache-modules-dir = ${apache:location}/modules ...@@ -74,14 +75,14 @@ apache-modules-dir = ${apache:location}/modules
apache-mime-file = ${apache:location}/conf/mime.types apache-mime-file = ${apache:location}/conf/mime.types
apache-htpasswd = ${apache:location}/bin/htpasswd apache-htpasswd = ${apache:location}/bin/htpasswd
[testnode] [testnode-service]
# wrapper over erp5testnode which restarts the service when configuration changed # wrapper over erp5testnode which restarts the service when configuration changed
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
wrapper-path = $${basedirectory:services}/erp5testnode wrapper-path = $${basedirectory:services}/erp5testnode
command-line = $${testnode-bin:wrapper} command-line = $${testnode:wrapper}
hash-files = hash-files =
$${testnode-bin:wrapper} $${testnode:wrapper}
$${testnode-bin:configuration-file} $${testnode:configuration-file}
[shell-environment] [shell-environment]
shell = ${bash:location}/bin/bash shell = ${bash:location}/bin/bash
......
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