1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-04 00:51:49 +00:00

Migrate old-style S6 scripts to s6-rc.d (#4311)

This commit is contained in:
Franck Nijhof
2023-01-18 18:22:35 +01:00
committed by GitHub
parent 8cad9dfc83
commit fd6d6cfb6c
21 changed files with 132 additions and 125 deletions

View File

@@ -0,0 +1,15 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Community Hass.io Add-ons: ESPHome
# Runs the NGINX proxy
# ==============================================================================
bashio::log.info "Waiting for ESPHome dashboard to come up..."
while [[ ! -S /var/run/esphome.sock ]]; do
sleep 0.5
done
bashio::log.info "Starting NGINX..."
exec nginx