Commit c0c34bbc authored by Nirina Malard's avatar Nirina Malard

software/html5as-base: add a promise

parent ee2288f6
......@@ -22,7 +22,7 @@ md5sum = 614443e77252a0b27fa275107a517407
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = 39881745533fc39034a38722bc74179c
md5sum = 2a2481fce38b5f5656b857a34a33d493
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -14,6 +14,7 @@ parts =
mime_types
launcher
nginx-graceful
port-listening-promise
publish-connection-information
# Define egg directories to be the one from Software Release
......@@ -169,6 +170,14 @@ rendered = ${basedirectory:script}/nginx-graceful
context =
section param_html5as html5as
# Port Listening checking promise
[port-listening-promise]
<= monitor-promise-base
promise = check_socket_listening
name = nginx-port-listening.py
config-host = ${html5as:ip}
config-port = ${html5as:port}
# Publish nginx address
[publish-connection-information]
recipe = slapos.cookbook:publish
......
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