blakeblackshear.frigate/docker/rootfs/etc/services.d/nginx/finish

8 lines
206 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# Take down the S6 supervision tree when the process fails
2021-03-03 14:33:50 +01:00
if [[ "${1}" -ne 0 && "${1}" -ne 256 ]]; then
exec s6-svscanctl -t /var/run/s6/services
fi