Commit 370f0149 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

html5as: Add port listening promise

parent e91d1445
......@@ -21,7 +21,7 @@ md5sum = 8a1383f7508a911c0c2d81445b5d4250
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = beadeb9706ae44e13e6b60699b0da0d1
md5sum = 7e178ae20bdbf0ed58e6d8fb54226cdb
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -10,6 +10,7 @@ parts =
mime_types
launcher
nginx-graceful
port-listening-promise
publish-connection-information
# Define egg directories to be the one from Software Release
......@@ -160,6 +161,14 @@ mode = 0700
context =
section param_html5as html5as
# Port Listening checking promise
[port-listening-promise]
<= monitor-promise-base
module = check_port_listening
name = nginx-port-listening.py
config-hostname = ${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