waiting for influxdb before starting scrutiny app.

This commit is contained in:
Jason Kulatunga
2022-04-29 22:16:56 -07:00
parent 702c7cdf7a
commit 8462d21e14
+3 -1
View File
@@ -1,5 +1,7 @@
#!/usr/bin/with-contenv bash
echo "starting scrutiny"
echo "waiting for influxdb"
until $(curl --output /dev/null --silent --head --fail http://localhost:8086/health); do echo "not ready"; done
echo "starting scrutiny"
scrutiny start