mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -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
|
tail -F $TAIL_LOGS
|
||||||
else
|
else
|
||||||
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
|
||||||
sleep infinity
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user