From f9662240923853415db3ded50a74b582b6a0c5dd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 5 Dec 2024 08:33:56 +0100 Subject: [PATCH] Adapt trap --- .templates/ha_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 54cf25115..0f9a1c5a2 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -76,7 +76,7 @@ if [ "$$" -eq 1 ]; then echo " " echo -e "\033[0;32mEverything started!\033[0m" trap terminate SIGTERM SIGINT - exec sleep infinity + while true; do sleep 86400 & wait $!; done else echo " " echo -e "\033[0;32mStarting the upstream container\033[0m"