#!/command/with-contenv bashio
# shellcheck shell=bash

set -e

bashio::net.wait_for "$SERVICE_PORT" localhost 900

bashio::log.info "Starting NGinx..."
exec nginx
