From 680c1bda4fb882e4ed373bc6bbae69075a5af93d Mon Sep 17 00:00:00 2001 From: komodo Date: Thu, 24 Apr 2025 20:22:23 +0000 Subject: [PATCH] [Komodo] admin: Write Compose File: update compose.yaml --- compose.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index df3450d..c38e0fe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -27,7 +27,12 @@ services: emby_logtail: image: busybox:latest container_name: emby_logtail - command: /bin/sh -c "tail -F /config/logs/embyserver.txt" + command: /bin/sh -c " + while true; do + find /config/logs -name '*.txt' | sort | uniq > /tmp/files.txt + xargs -a /tmp/files.txt tail -F + sleep 5 + done" volumes: - /app-config/emby:/config:ro # Read-only Mount des Emby Config/Logs restart: unless-stopped \ No newline at end of file