From 22e2a57dfdf4d50777c348d66bea83cb6a7c428b Mon Sep 17 00:00:00 2001 From: komodo Date: Thu, 24 Apr 2025 20:23:19 +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 53a11a1..e624871 100644 --- a/compose.yaml +++ b/compose.yaml @@ -28,7 +28,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