Commit 2b20fa32 authored by Łukasz Nowak's avatar Łukasz Nowak

software/htmlvalidatorserver: Switch to monitor-promise-base

parent 8ada2b74
...@@ -22,7 +22,7 @@ md5sum = 09803fb71404edbccb32c44a0040dae4 ...@@ -22,7 +22,7 @@ md5sum = 09803fb71404edbccb32c44a0040dae4
[template-validator] [template-validator]
filename = instance-validator.cfg.in filename = instance-validator.cfg.in
md5sum = 0275d7a8a021f84a1303e5c8933c07c3 md5sum = f2609d1f526ba6349b1374e3631a9f7c
[template] [template]
filename = instance.cfg.in filename = instance.cfg.in
......
...@@ -11,7 +11,6 @@ run = $${:var}/run ...@@ -11,7 +11,6 @@ run = $${:var}/run
log = $${:var}/log log = $${:var}/log
# scripts = $${:etc}/run # scripts = $${:etc}/run
services = $${:etc}/service services = $${:etc}/service
promises = $${:etc}/promise
# tomcat directories # tomcat directories
catalina_base = $${:var}/vnu catalina_base = $${:var}/vnu
catalina_logs = $${:catalina_base}/logs catalina_logs = $${:catalina_base}/logs
...@@ -55,10 +54,11 @@ port = 8899 ...@@ -55,10 +54,11 @@ port = 8899
scheme = https scheme = https
[tomcat-listen-promise] [tomcat-listen-promise]
recipe = slapos.cookbook:check_port_listening <= monitor-promise-base
hostname = $${tomcat-configuration:ip} module = check_port_listening
port = $${tomcat-configuration:port} name = tomcat_listen.py
path = $${basedirectory:promises}/tomcat_listen config-hostname = $${tomcat-configuration:ip}
config-port = $${tomcat-configuration:port}
################################# #################################
# Slapos publish # Slapos 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