Files
scrutiny/rootfs/etc/services.d/scrutiny/run
T

8 lines
231 B
Plaintext

#!/usr/bin/with-contenv bash
echo "waiting for influxdb"
until $(curl --output /dev/null --silent --head --fail http://localhost:8086/health); do echo "influxdb not ready" && sleep 5; done
echo "starting scrutiny"
scrutiny start