diff --git a/software/html5as/buildout.hash.cfg b/software/html5as/buildout.hash.cfg index 2df062b7d3354c4cdf042ba03a3cdeb301e1941a..5b49db60a3c49d971bf9150345f237a383fdf2ca 100644 --- a/software/html5as/buildout.hash.cfg +++ b/software/html5as/buildout.hash.cfg @@ -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 diff --git a/software/html5as/instance_html5as.cfg.in b/software/html5as/instance_html5as.cfg.in index cedbbdeb58784a3790022a0923dd8f53cf3a805c..3f23a24ff222f59f7024f91450ba1d77fbc6c7f8 100644 --- a/software/html5as/instance_html5as.cfg.in +++ b/software/html5as/instance_html5as.cfg.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