We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ecce4 commit 9444a47Copy full SHA for 9444a47
rootfs/etc/services.d/home-assistant/finish
@@ -18,13 +18,11 @@ elif [[ ${APP_EXIT_CODE} -eq ${SIGNAL_EXIT_CODE} ]]; then
18
19
NEW_EXIT_CODE=$((128 + SIGNAL_NO))
20
echo ${NEW_EXIT_CODE} > /run/s6-linux-init-container-results/exitcode
21
-
22
- if [[ ${SIGNAL_NO} -eq ${SIGTERM} ]]; then
23
- /run/s6/basedir/bin/halt
24
- fi
25
else
26
bashio::log.info "Home Assistant Core service shutdown"
27
28
echo ${APP_EXIT_CODE} > /run/s6-linux-init-container-results/exitcode
29
30
fi
+
+# Make sure to stop the container
+/run/s6/basedir/bin/halt
0 commit comments