Update run.sh

This commit is contained in:
Alexandre
2021-03-11 14:47:03 +01:00
committed by GitHub
parent 1c81d0f2a6
commit 5193e566e4

View File

@@ -1,5 +1,8 @@
#!/usr/bin/with-contenv bashio
sleep 60
# wait for scrutiny to load
bashio::net.wait_for 8000
scrutiny-collector-metrics run >/dev/null && bashio::log.info "Local Devices Added" || bashio::log.error "Local Devices Not Added"
#|| bashio::log.error "Privileged mode is disabled, the addon will stop"
# ; \ s6-svscanctl -t /var/run/s6/services