diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 8161968ee..40cc197c8 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -59,7 +59,7 @@ if [ "$$" -eq 1 ]; then echo -e "\033[0;32mEverything started!\033[0m" terminate() { echo "Termination signal received, forwarding to subprocesses..." - + # Terminate all subprocesses if command -v pgrep &>/dev/null; then for pid in $(pgrep -P $$); do echo "Terminating child PID $pid"