mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 03:53:18 -04:00
changed delimiter to comma (more likely a space would be in a path), properly added in front of each file to tail
This commit is contained in:
@@ -6,4 +6,4 @@ In any container docker arguments, set an environment variable `DOCKER_MODS=linu
|
||||
|
||||
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:universal-stdout-logging|linuxserver/mods:universal-mod2`
|
||||
|
||||
Simply set the environment variable `LOGS_TO_STDOUT` with a space-delimited list of log files to include, such as `LOGS_TO_STDOUT="/config/logs/radarr.txt /config/logs/radarr.debug.txt"`
|
||||
Simply set the environment variable `LOGS_TO_STDOUT` with a comman-delimited list of log files to include, such as `LOGS_TO_STDOUT="/config/logs/radarr.txt /config/logs/radarr.debug.txt"`. **NOTE**: If a comman exists in the path / filename of a log file, this will not work properly.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
$TAIL_LOGS=$(echo $LOGS_TO_STDOUT | sed 's/,/ -f /g')
|
||||
|
||||
tail -f $LOGS_TO_STDOUT
|
||||
|
||||
Reference in New Issue
Block a user