waiting for influxdb before starting scrutiny app.

pull/228/head
Jason Kulatunga 3 years ago
parent 702c7cdf7a
commit 8462d21e14

@ -1,5 +1,7 @@
#!/usr/bin/with-contenv bash #!/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 scrutiny start

Loading…
Cancel
Save