From a5e86729b19b4380069bd97c3ad35111dd5c5bdc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Dec 2022 22:25:16 +0100 Subject: [PATCH] Update 90-run.sh --- scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh b/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh index f78de5e2f..613d8271b 100755 --- a/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh @@ -13,10 +13,13 @@ if bashio::config.true "expose_collector"; then rm -R /data/config/collector.yaml elif [ -f /opt/scrutiny/config/collector.yaml ] ; then cp -rnf /opt/scrutiny/config/collector.yaml /share/scrutiny || true + rm /opt/scrutiny/config/collector.yaml else touch /share/scrutiny/collector.yaml fi ln -s /share/scrutiny/collector.yaml /data/config + mkdir -p /opt/scrutiny/config + ln -s /share/scrutiny/collector.yaml /opt/scrutiny/config/collector.yaml chmod 777 -R /share/scrutiny fi