mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 05:06:13 +01:00
* Fix shutdown timeout and make it upstream with Supervisor * Moved ENV command up * Update finish Co-authored-by: Franck Nijhof <git@frenck.dev>
9 lines
343 B
Plaintext
9 lines
343 B
Plaintext
#!/usr/bin/execlineb -S1
|
|
# ==============================================================================
|
|
# Take down the S6 supervision tree when Home Assistant fails
|
|
# ==============================================================================
|
|
if { s6-test ${1} -ne 100 }
|
|
if { s6-test ${1} -ne 256 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services
|