Fix ingress implementation with proper s6 services

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-19 09:20:55 +00:00
parent e6357c3ee4
commit 0ac9b5136b
6 changed files with 55 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Nginx fails
# ==============================================================================
if { test ${1} -ne 0 }
if { test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services

View File

@@ -0,0 +1,14 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
# Set variables
slug=seerr
port=5055
# Wait for seerr to become available
bashio::net.wait_for "$port" localhost 900
bashio::log.info "Starting NGinx..."
exec nginx

View File

@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Seerr fails
# ==============================================================================
if { test ${1} -ne 0 }
if { test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services

View File

@@ -0,0 +1,8 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
cd /app || exit 1
bashio::log.info "Starting Seerr..."
exec npm start