diff --git a/homematic/CHANGELOG.md b/homematic/CHANGELOG.md index e99f513..e925140 100644 --- a/homematic/CHANGELOG.md +++ b/homematic/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 11.0.2 + +- Fix issue with library +- Take container down on ReGaHss error + ## 11.0.1 - Small cleanup with s6-overlay diff --git a/homematic/Dockerfile b/homematic/Dockerfile index 94703d6..1cbd017 100644 --- a/homematic/Dockerfile +++ b/homematic/Dockerfile @@ -9,6 +9,7 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends \ libusb-1.0 \ lighttpd \ + lighttpd-mod-openssl \ nginx \ openjdk-11-jre-headless \ && rm -rf /var/lib/apt/lists/* diff --git a/homematic/config.json b/homematic/config.json index 0143c2c..111d507 100644 --- a/homematic/config.json +++ b/homematic/config.json @@ -1,6 +1,6 @@ { "name": "HomeMatic CCU", - "version": "11.0.1", + "version": "11.0.2", "slug": "homematic", "description": "HomeMatic central based on OCCU", "url": "https://github.com/home-assistant/hassio-addons/tree/master/homematic", diff --git a/homematic/rootfs/etc/services.d/regahss/finish b/homematic/rootfs/etc/services.d/regahss/finish new file mode 100644 index 0000000..a29ced9 --- /dev/null +++ b/homematic/rootfs/etc/services.d/regahss/finish @@ -0,0 +1,8 @@ +#!/usr/bin/execlineb -S1 +# ============================================================================== +# Take down the S6 supervision tree based on service exit code +# ============================================================================== +if { s6-test ${1} -ne 0 } +if { s6-test ${1} -ne 256 } + +s6-svscanctl -t /var/run/s6/services