mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 19:21:35 +00:00
9 lines
383 B
Text
9 lines
383 B
Text
#!/usr/bin/execlineb -S0
|
|
# ==============================================================================
|
|
# Home Assistant Community Add-on: Prometheus
|
|
# Take down the S6 supervision tree when Prometheus fails
|
|
# ==============================================================================
|
|
if { s6-test ${1} -ne 0 }
|
|
if { s6-test ${1} -ne 256 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services
|