mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 14:23:07 -04:00
switch to hybrid
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -n "${LOGS_TO_STDOUT}" ]; then
|
||||
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# #g')
|
||||
echo "Executing: tail -F $TAIL_LOGS"
|
||||
tail -F $TAIL_LOGS
|
||||
else
|
||||
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
||||
sleep infinity
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
longrun
|
||||
Regular → Executable
Reference in New Issue
Block a user