mirror of
https://github.com/esphome/esphome.git
synced 2025-10-03 02:22:25 +01:00
Change most references from hassio to ha-addon (#3178)
This commit is contained in:
14
docker/ha-addon-rootfs/etc/services.d/nginx/run
Executable file
14
docker/ha-addon-rootfs/etc/services.d/nginx/run
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
Reference in New Issue
Block a user