Update 90-run.sh

This commit is contained in:
Alexandre
2022-12-27 15:38:35 +01:00
committed by GitHub
parent a9562b3028
commit 923c4a5bb7

View File

@@ -11,6 +11,8 @@ if bashio::config.true "expose_collector"; then
if [ -f /data/config/collector.yaml ] ; then
cp -rnf /data/config/collector.yaml /share/scrutiny || true
rm -R /data/config/collector.yaml
elif [ -f /opt/scrutiny/config/collector.yaml ] ; then
cp -rnf /opt/scrutiny/config/collector.yaml /share/scrutiny || true
else
touch /share/scrutiny/collector.yaml
fi