mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-11-08 09:53:18 +01:00
15 lines
419 B
Plaintext
Executable File
15 lines
419 B
Plaintext
Executable File
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: ESPHome
|
|
# Runs the NGINX proxy
|
|
# ==============================================================================
|
|
|
|
bashio::log.info "Waiting for dashboard to come up..."
|
|
|
|
while [[ ! -S /var/run/esphome.sock ]]; do
|
|
sleep 0.5
|
|
done
|
|
|
|
bashio::log.info "Starting NGINX..."
|
|
exec nginx
|