mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
9 lines
382 B
Plaintext
9 lines
382 B
Plaintext
#!/usr/bin/execlineb -S0
|
|
# ==============================================================================
|
|
# Home Assistant Community Add-on: Bookstack
|
|
# Take down the S6 supervision tree when PHP FPM fails
|
|
# ==============================================================================
|
|
if -n { s6-test $# -ne 0 }
|
|
if -n { s6-test ${1} -eq 256 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services |