mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
9 lines
342 B
Plaintext
9 lines
342 B
Plaintext
#!/usr/bin/execlineb -S1
|
|
# ==============================================================================
|
|
# Take down the S6 supervision tree based on service exit code
|
|
# ==============================================================================
|
|
if { s6-test ${1} -ne 0 }
|
|
if { s6-test ${1} -ne 256 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services
|