Files
jitsi-meet-deployment/jvb/rootfs/etc/services.d/jvb/finish
2024-09-17 09:07:54 -05:00

10 lines
274 B
Plaintext

#!/usr/bin/with-contenv bash
# When the jvb is shutdown (or gracefully shutdown), it exits with code 0.
# In this case, we don't want S6 to restart the service. We want to stop all
# services and shutdown the container.
if [[ $1 -eq 0 ]]; then
/opt/jitsi/shutdown.sh
fi