mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-13 11:01:28 +02:00
Revert "scrutiny: remove s6 dependency in finish script"
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
## v0.8.1-12 (16-08-2025)
|
|
||||||
- Replace s6-based shutdown with standard command to avoid s6-svwait error
|
|
||||||
|
|
||||||
## v0.8.1-11 (15-08-2025)
|
## v0.8.1-11 (15-08-2025)
|
||||||
- Minor bugs fixed
|
- Minor bugs fixed
|
||||||
## v0.8.1-10 (13-08-2025)
|
## v0.8.1-10 (13-08-2025)
|
||||||
|
|||||||
@@ -120,5 +120,5 @@
|
|||||||
"slug": "scrutiny",
|
"slug": "scrutiny",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/AnalogJ/scrutiny",
|
"url": "https://github.com/AnalogJ/scrutiny",
|
||||||
"version": "v0.8.1-12"
|
"version": "v0.8.1-11"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/execlineb -S0
|
||||||
# shellcheck shell=bash
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Stop the container when Nginx fails
|
# Take down the S6 supervision tree when Nginx fails
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
if [[ "$1" -ne 0 && "$1" -ne 256 ]]; then
|
if { s6-test ${1} -ne 0 }
|
||||||
bashio::log.error "Nginx exited with code $1"
|
if { s6-test ${1} -ne 256 }
|
||||||
kill -15 1
|
|
||||||
fi
|
s6-svscanctl -t /var/run/s6/services
|
||||||
|
|||||||
Reference in New Issue
Block a user