Rollback code to 2.17.1-2

https://github.com/alexbelgium/hassio-addons/issues/745
This commit is contained in:
Alexandre
2023-03-08 13:44:07 +01:00
parent 1fdb5b9fb1
commit 6d735ad084
24 changed files with 71 additions and 90 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Nginx fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services

View File

@@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
bashio::log.info "Waiting for port 9000 to open..."
# Wait for transmission to become available
bashio::net.wait_for 9000 localhost 900
bashio::log.info "Starting NGinx..."
exec nginx