From 14498cbc5939781d90a61eb3a5e4226372c1a7d5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Dec 2022 22:24:20 +0100 Subject: [PATCH] Update 90-run.sh --- scrutiny/rootfs/etc/cont-init.d/90-run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index 4bf44f405..bc2794127 100755 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/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