From 36d7c5da99e889a4056ee94846a272b1b600ff68 Mon Sep 17 00:00:00 2001 From: Gabe Date: Wed, 9 Sep 2026 02:37:34 +0000 Subject: [PATCH] Update TV_Containers/tiramisu/compose.yaml --- TV_Containers/tiramisu/compose.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TV_Containers/tiramisu/compose.yaml b/TV_Containers/tiramisu/compose.yaml index d4498ee..610af0f 100644 --- a/TV_Containers/tiramisu/compose.yaml +++ b/TV_Containers/tiramisu/compose.yaml @@ -6,7 +6,11 @@ services: - /srv/docker/tiramisu:/target entrypoint: > sh -c " - if [ ! -s /target/config.json ]; then + if [ -d /target/config.json ]; then + echo 'config.json is a directory, not a file — removing it'; + rmdir /target/config.json 2>/dev/null || rm -rf /target/config.json; + fi; + if [ ! -f /target/config.json ] || [ ! -s /target/config.json ]; then curl -sSL -o /target/config.json https://raw.githubusercontent.com/MrRobotoGit/tiramisu/main/config.json.example echo 'Fetched default config.json — edit /srv/docker/tiramisu/config.json with real values'; else