Update 90-run.sh

This commit is contained in:
Alexandre
2022-12-27 15:39:46 +01:00
committed by GitHub
parent 5f9ff2d8a9
commit 85d8bdecd7

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