mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 01:55:59 +02:00
Disable nginx
This commit is contained in:
@@ -14,6 +14,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.warning "Ingress entry is not set, exiting configuration."
|
||||||
|
sed -i "1a sleep infinity" /custom-services.d/02-nginx.sh
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user