2
0

finish 290 B

123456789
  1. #!/usr/bin/with-contenv bash
  2. # When jibri is shutdown (or gracefully shutdown), it exits with code 255.
  3. # In this case, we don't want S6 to restart the service. We want to stop all
  4. # services and shutdown the container.
  5. if [[ $1 -eq 255 ]]; then
  6. s6-svscanctl -t /var/run/s6/services
  7. fi