mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-19 20:04:30 +01:00
Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
9 lines
336 B
Plaintext
9 lines
336 B
Plaintext
#!/usr/bin/execlineb -S1
|
|
# ==============================================================================
|
|
# Take down the S6 supervision tree when ozw-admin fails
|
|
# ==============================================================================
|
|
if { s6-test ${1} -ne 0 }
|
|
if { s6-test ${1} -ne 256 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services
|