Files
hassio-addons/scrutiny/rootfs/run.sh
2021-02-14 00:12:57 +01:00

6 lines
219 B
Bash

#!/usr/bin/with-contenv bashio
scrutiny-collector-metrics run && bashio::log.info "Local Devices Added" \
|| bashio::log.error "Privileged mode is disabled, the addon will stop"; \
s6-svscanctl -t /var/run/s6/services