#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================

# Wait for Jackett to become available
bashio::net.wait_for 9117 localhost 900

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