From 09202dfb07d2083af396ce6185339c398013678e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 4 Dec 2023 22:42:46 +0100 Subject: [PATCH] Update 90-spotweb https://github.com/alexbelgium/hassio-addons/issues/1051 --- spotweb/rootfs/etc/cont-init.d/90-spotweb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spotweb/rootfs/etc/cont-init.d/90-spotweb b/spotweb/rootfs/etc/cont-init.d/90-spotweb index 14440b75f..1de19bcd6 100644 --- a/spotweb/rootfs/etc/cont-init.d/90-spotweb +++ b/spotweb/rootfs/etc/cont-init.d/90-spotweb @@ -123,7 +123,10 @@ else fi # Adapt cache permissions -mkdir -p /app/cache +mkdir -p /data/cache +# Create symlink +if [ -d /app/cache ]; then rm -r /app/cache; fi +ln -s /data/cache /app/ chmod -R 777 /app/cache # Run check-cache at boot to fix potential cache problems