mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-21 18:44:14 -04:00
10 lines
272 B
Plaintext
Executable File
10 lines
272 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 -Fc0 ${TAIL_LOGS[@]}"
|
|
tail -Fc0 "${TAIL_LOGS[@]}"
|
|
else
|
|
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
|
fi
|