From 3d2e73a5e7deee742e7420b433093254bf1b49d5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:21:44 +0200 Subject: [PATCH] Update ha_entrypoint.sh --- .templates/ha_entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 28ff8bec0..994d321eb 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -60,7 +60,7 @@ for SCRIPTS in /etc/cont-init.d/*; do done # Start services.d -if "$PID11"; then +if "$PID1"; then if [ "$(ls -A /etc/services.d/*/run)" ]; then for runfile in /etc/services.d/*/run; do if [[ -f "$runfile" ]]; then @@ -90,7 +90,7 @@ fi ###################### # If PID 1, keep alive and manage sigterm -if "$PID11"; then +if "$PID1"; then echo " " echo -e "\033[0;32mEverything started!\033[0m" terminate() {