mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-05 00:24:58 +02:00
15 lines
321 B
Plaintext
15 lines
321 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -euo pipefail
|
|
|
|
# Wait for ingress configuration to be generated
|
|
while [ ! -f /etc/nginx/servers/ingress.conf ]; do
|
|
bashio::log.info "Waiting for /etc/nginx/servers/ingress.conf..."
|
|
sleep 1
|
|
done
|
|
|
|
# Wait to be sure the script fully executed
|
|
sleep 5
|
|
|
|
nginx
|