mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-02 15:51:05 +02:00
jibri: allow graceful shutdown of the container
This commit is contained in:
parent
3c19ed6723
commit
18ac85b69e
9
jibri/rootfs/etc/services.d/30-jibri/finish
Executable file
9
jibri/rootfs/etc/services.d/30-jibri/finish
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# When jibri is shutdown (or gracefully shutdown), it exits with code 255.
|
||||
# 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 255 ]]; then
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user