Commit 62e9f40b authored by Lisa Casino's avatar Lisa Casino

html5as: add a promise

parent 8a040a74
......@@ -17,11 +17,11 @@
[template-cfg]
filename = instance.cfg.in
md5sum = e096e08f453eeb27d8653eddc87b31cc
md5sum = 6502903b128e75b749e623801f787754
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = 6fa9e009c45f24ff2169f2c68cd1ce97
md5sum = b22620240f3795c2c2cadff0034ba770
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -33,7 +33,7 @@ default-parameters =
{
"title": "Tutorial html5as",
"download_url": "",
"port": 8081,
"port": 8081
}
[switch-softwaretype]
......
......@@ -12,6 +12,7 @@ parts =
mime_types
launcher
nginx-graceful
port-listening-promise
publish-connection-information
# Define egg directories to be the one from Software Release
......@@ -113,6 +114,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}
# Render nginx conf
[nginx_conf]
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