ha-3dprinter-addons/camera-ustreamer/rootfs/etc/services.d/proxy/run
2023-03-16 12:43:03 +01:00

12 lines
395 B
Plaintext

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Add-on: mjpg-streamer
# Runs the Nginx daemon
# ==============================================================================
# Wait for aiortc web server to be available
bashio::net.wait_for 80
bashio::log.info "Starting proxy..."
# exec caddy run -config /etc/caddy/Caddyfile