waiting for influxdb before starting scrutiny app.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user