blakeblackshear.frigate/docker/rootfs/etc/services.d/nginx/finish
Felipe Santos 94a2b6bb88
Upgrade s6-overlay from 2.2.0.3 to 3.1.2.1 (#4584)
Also remove the unnecessary xz-utils from the final image.
2022-12-03 10:23:19 -06:00

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