Update 90-run.sh

This commit is contained in:
Alexandre
2022-11-24 04:12:36 +01:00
committed by GitHub
parent 6e91131d97
commit 89fd80da0f

View File

@@ -8,8 +8,9 @@
if bashio::config.true "expose_collector"; then
bashio::log.info "collector.yaml exposed in /share/scrutiny. It will only be accessible if the addon is running"
mkdir -p /share/scrutiny
cp -rnf /opt/scrutiny/config/collector.yaml /share/scrutiny/collector.yaml
ln -s /share/scrutiny/collector.yaml /opt/scrutiny/config
cp -rnf /opt/scrutiny/config /share/scrutiny
rm -R /opt/scrutiny/config
ln -s /share/scrutiny /opt/scrutiny/config
chmod 777 -R /share/scrutiny
fi