mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
10 lines
268 B
Plaintext
Executable File
10 lines
268 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
if [ -n "${LOGS_TO_STDOUT}" ]; then
|
|
IFS='|' read -ra TAIL_LOGS <<< "$LOGS_TO_STDOUT"
|
|
echo "Executing: tail -F ${TAIL_LOGS[@]}"
|
|
tail -F "${TAIL_LOGS[@]}"
|
|
else
|
|
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
|
fi
|