mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 17:21:56 +02:00
Fix ingress implementation with proper s6 services
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
8
seerr/rootfs/etc/services.d/seerr/finish
Executable file
8
seerr/rootfs/etc/services.d/seerr/finish
Executable 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
|
||||
8
seerr/rootfs/etc/services.d/seerr/run
Executable file
8
seerr/rootfs/etc/services.d/seerr/run
Executable 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
|
||||
Reference in New Issue
Block a user