forked from TrueCloudLab/frostfs-aio
[#34] Add tree healthcheck
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
parent
9d79d69b1f
commit
f398fb44f3
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ runServices() {
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
|
while [[ -z "$(/usr/bin/frostfs-cli tree healthcheck -r 127.0.0.1:8080 -g -v | grep 'Successful healthcheck invocation')" ]];
|
||||||
|
do
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
|
||||||
/usr/bin/frostfs-s3-gw --config /config/s3-gw-config.yaml &
|
/usr/bin/frostfs-s3-gw --config /config/s3-gw-config.yaml &
|
||||||
/usr/bin/frostfs-http-gw --config /config/http-gw-config.yaml &
|
/usr/bin/frostfs-http-gw --config /config/http-gw-config.yaml &
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue