mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:01:43 +01:00
15 lines
451 B
Text
Executable file
15 lines
451 B
Text
Executable file
#!/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
|