Commit 62c2b0a8 authored by Alain Takoudjou's avatar Alain Takoudjou

monitor: wait for dependencies files before start apache server

parent 71523d60
......@@ -41,7 +41,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/monitor.cfg.in
output = ${buildout:directory}/monitor.cfg
filename = monitor.cfg
md5sum = 4d0c3b847c18a56068f04dd926487272
md5sum = 51284c0aeb62eccd37f8a4e1621ee28c
mode = 0644
[monitor-bin]
......
......@@ -263,6 +263,9 @@ recipe = slapos.cookbook:wrapper
apache-executable = ${apache:location}/bin/httpd
command-line = $${:apache-executable} -f $${monitor-httpd-configuration-file:rendered} -DFOREGROUND
wrapper-path = $${ca-httpd:executable}
wait-for-files =
$${cadirectory:certs}/httpd.key
$${cadirectory:certs}/httpd.crt
[cgi-httpd-graceful-wrapper]
recipe = slapos.recipe.template:jinja2
......
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