mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 09:35:58 +02:00
Update run.sh
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/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"
|
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"
|
#|| bashio::log.error "Privileged mode is disabled, the addon will stop"
|
||||||
# ; \ s6-svscanctl -t /var/run/s6/services
|
# ; \ s6-svscanctl -t /var/run/s6/services
|
||||||
|
|||||||
Reference in New Issue
Block a user