Commit d05fe062 authored by Dmitry Blinov's avatar Dmitry Blinov Committed by Esteban Blanc

proview -r: add status server promise

parent e9e77c33
...@@ -99,6 +99,13 @@ name = novnc_promise.py ...@@ -99,6 +99,13 @@ name = novnc_promise.py
config-hostname = ${novnc-instance:ip} config-hostname = ${novnc-instance:ip}
config-port = ${novnc-instance:port} config-port = ${novnc-instance:port}
[pwr-status-server-promise]
<= monitor-promise-base
module = check_port_listening
name = status_server_promise.py
config-hostname = {{ ipv4 }}
config-port = 18084
[x11vnc] [x11vnc]
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
command-line = {{ x11vnc_bin }} -forever -display ${xserver:display} -ncache 10 command-line = {{ x11vnc_bin }} -forever -display ${xserver:display} -ncache 10
...@@ -336,6 +343,7 @@ parts = ...@@ -336,6 +343,7 @@ parts =
websockify-sighandler websockify-sighandler
websockify-sighandler-service websockify-sighandler-service
novnc-promise novnc-promise
pwr-status-server-promise
shellinabox shellinabox
shellinabox-service shellinabox-service
ca-nginx ca-nginx
......
...@@ -54,7 +54,7 @@ mode = 0644 ...@@ -54,7 +54,7 @@ mode = 0644
[template-proview-r] [template-proview-r]
<= download-base <= download-base
md5sum = 74d3bac508adce14d0793dad04f491cd md5sum = 08230f00da4dd365e23d78f0d17f826e
filename = instance-proview-r.cfg.jinja2.in filename = instance-proview-r.cfg.jinja2.in
[template-pwrp-profile] [template-pwrp-profile]
......
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