forked from Github/frigate
8 lines
194 B
Plaintext
Executable File
8 lines
194 B
Plaintext
Executable File
#!/command/with-contenv bash
|
|
# shellcheck shell=bash
|
|
# Take down the S6 supervision tree when the process fails
|
|
|
|
if [[ "${1}" -ne 0 && "${1}" -ne 256 ]]; then
|
|
exec /run/s6/basedir/bin/halt
|
|
fi
|