Commit 255eeba4 authored by Lisa Casino's avatar Lisa Casino Committed by Xavier Thompson

software/html5as-base: add a promise

parent 23eb1a67
......@@ -21,7 +21,7 @@ md5sum = 12557dcf27c65acb7474f1d9871ff98c
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = 6e1d34bd9c478b2c0fa256bfc9e4c851
md5sum = 510b95acd930376d3711babf838dd4fa
[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
......@@ -167,6 +168,14 @@ mode = 0700
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