From 3e917f775a06ec9ba1143de8f7b8c4a9bdc8c5b3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 22 Nov 2023 20:43:19 +0100 Subject: [PATCH] Update Dockerfile --- signalk/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 473937297..ab1168d04 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -69,6 +69,9 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh +# Restart the addon on crash +RUN echo "bashio::addon.restart" >> /ha_entrypoint.sh + ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ]