diff --git a/compose.yaml b/compose.yaml index bf9312a..3c3377e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -28,7 +28,13 @@ services: emby_logtail: image: alpine container_name: emby_logtail - command: /bin/sh -c "apk add --no-cache coreutils && while true; do find /config/logs -name '*.txt' -o -name '*.log' | sort | uniq > /tmp/files.txt && xargs -a /tmp/files.txt tail -n 0 -F; sleep 5; done" + #command: /bin/sh -c "apk add --no-cache coreutils && while true; do find /config/logs -name '*.txt' -o -name '*.log' | sort | uniq > /tmp/files.txt && xargs -a /tmp/files.txt tail -n 0 -F; sleep 5; done" + command: /bin/sh -c " + apk add --no-cache coreutils && + for file in /config/logs/*.txt; do + tail -n 0 -F \"\$file\" & + done + wait" volumes: - /app-config/emby:/config:ro # Read-only Mount des Emby Config/Logs restart: unless-stopped