Start processes via exec

pull/427/head
bt90 2 years ago
parent 4fcd11f497
commit b39f99467b

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
echo "starting cron"
cron -f -L 15
exec cron -f -L 15

@ -14,4 +14,4 @@ EOF
fi
echo "starting influxdb"
influxd run
exec influxd run

@ -4,4 +4,4 @@ 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
exec scrutiny start

Loading…
Cancel
Save