2
0

finish 274 B

123456789
  1. #!/usr/bin/with-contenv bash
  2. # When the jvb is shutdown (or gracefully shutdown), it exits with code 0.
  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 0 ]]; then
  6. /opt/jitsi/shutdown.sh
  7. fi