Update ha_entrypoint.sh

This commit is contained in:
Alexandre
2024-12-02 20:26:54 +01:00
committed by GitHub
parent 061f93d897
commit f79e7ceb20

View File

@@ -2,20 +2,6 @@
# shellcheck shell=bash
echo "Starting..."
##################
# Handle sigterm #
##################
cleanup() {
echo "Caught SIGTERM, cleaning up..."
# Sends SIGTERM to all child processes
pkill -TERM -P $$ || true
wait
exit 0
}
trap cleanup SIGTERM || true
####################
# Starting scripts #
####################