From b0c405abef2f20889961e498143128609a7ec180 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Dec 2022 22:56:43 +0100 Subject: [PATCH] Update 90-run.sh --- scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 585fb3694..4216f4cec 100755 --- a/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny_fa/rootfs/etc/cont-init.d/90-run.sh @@ -17,9 +17,9 @@ if bashio::config.true "expose_collector"; then rm /opt/scrutiny/config/collector.yaml fi touch /share/scrutiny/collector.yaml - ln -s /share/scrutiny/collector.yaml /data/config + ln -sf /share/scrutiny/collector.yaml /data/config || true mkdir -p /opt/scrutiny/config - ln -s /share/scrutiny/collector.yaml /opt/scrutiny/config/collector.yaml + ln -sf /share/scrutiny/collector.yaml /opt/scrutiny/config/collector.yaml || true chmod 777 -R /share/scrutiny fi