mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-26 18:23:11 -04:00
stop service instead of sleep
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -z "${LOGS_TO_STDOUT}" ]; then
|
||||
exit 125
|
||||
fi
|
||||
@@ -6,5 +6,4 @@ if [ -n "${LOGS_TO_STDOUT}" ]; then
|
||||
tail -F $TAIL_LOGS
|
||||
else
|
||||
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user