Commit 3ee93641 authored by Łukasz Nowak's avatar Łukasz Nowak

software/backupserver: Switch to monitor-promise-base

parent 3b822daf
...@@ -46,7 +46,7 @@ md5sum = 80b3746568bc8e308a1f337bdaa2441c ...@@ -46,7 +46,7 @@ md5sum = 80b3746568bc8e308a1f337bdaa2441c
[template-pullrdiffbackup] [template-pullrdiffbackup]
filename = instance-pullrdiffbackup.cfg.in filename = instance-pullrdiffbackup.cfg.in
md5sum = 537ab12f3885660e59d280ee40e379ac md5sum = c1f00c251298c2ab7fd095e7c4571d3b
[template] [template]
filename = instance.cfg.in filename = instance.cfg.in
......
...@@ -31,7 +31,6 @@ statistic = $${:srv}/$${variables:statistic_dirbasename} ...@@ -31,7 +31,6 @@ statistic = $${:srv}/$${variables:statistic_dirbasename}
backupscript = $${:etc}/backup backupscript = $${:etc}/backup
www = $${:srv}/www www = $${:srv}/www
home = $${:etc}/home home = $${:etc}/home
promises = $${:etc}/promise
ssl = $${:etc}/ssl ssl = $${:etc}/ssl
ssh = $${:home}/.ssh ssh = $${:home}/.ssh
plugin = $${:etc}/plugin plugin = $${:etc}/plugin
...@@ -194,10 +193,11 @@ virtual-depends = ...@@ -194,10 +193,11 @@ virtual-depends =
$${nginx-configuration:ip} $${nginx-configuration:ip}
[nginx-listen-promise] [nginx-listen-promise]
recipe = slapos.cookbook:check_port_listening <= monitor-promise-base
hostname = $${nginx-configuration:ip} module = check_port_listening
port = $${nginx-configuration:port} name = nginx_listen.py
path = $${directory:promises}/nginx_listen config-hostname = $${nginx-configuration:ip}
config-port = $${nginx-configuration:port}
[nginx-configuration] [nginx-configuration]
recipe = slapos.recipe.template recipe = slapos.recipe.template
......
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