diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index dc9f3ab5a..4bf44f405 100755 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/rootfs/etc/cont-init.d/90-run.sh @@ -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