mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 18:21:51 +02:00
Simplify nginx run script by removing checks
Removed conditional check for nginx disabled state.
This commit is contained in:
@@ -2,9 +2,4 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
if [ -f /run/nginx-disabled ]; then
|
|
||||||
bashio::log.info "Nginx disabled because ingress is not active"
|
|
||||||
exec sleep infinity
|
|
||||||
fi
|
|
||||||
|
|
||||||
nginx
|
nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user