Adapt trap

This commit is contained in:
Alexandre
2024-12-05 08:33:56 +01:00
committed by GitHub
parent bc4cdb9ec2
commit f966224092

View File

@@ -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"