#!/usr/bin/with-contenv bashio
set -euo pipefail
if bashio::config.true 'DISABLE_WEB_UI'; then
    bashio::log.info "Web UI disabled by option."
    exit 0
fi
bashio::log.info "Starting Ente web."
exec /usr/bin/ente-web
