mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-04 04:58:46 +02:00
Update 91-nginx_ingress.sh
This commit is contained in:
@@ -24,7 +24,7 @@ ingress_entry=$(bashio::addon.ingress_entry)
|
|||||||
|
|
||||||
# Quits if ingress is not active
|
# Quits if ingress is not active
|
||||||
if [ -z "$ingress_entry" ]; then
|
if [ -z "$ingress_entry" ]; then
|
||||||
bashio::log.warning "Ingress entry is not set, exiting configuration."
|
bashio::log.info "Ingress entry is not set, exiting configuration."
|
||||||
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
|
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user