mirror of https://github.com/OpenVidu/openvidu.git
Run livekit-server with "exec" in entrypoint scripts of local-meet
That makes the server PID 1, so it gets Docker's SIGTERM, drains and unregisters instead of being SIGKILLed 10 s later.pull/911/head
parent
7ae34bdd05
commit
ae328e4e25
|
|
@ -115,7 +115,7 @@ services:
|
|||
echo "Using as NODE_IP: $$LAN_PRIVATE_IP"
|
||||
export NODE_IP="$$LAN_PRIVATE_IP"
|
||||
fi
|
||||
./livekit-server "$@"
|
||||
exec ./livekit-server "$@"
|
||||
OPENVIDU_MEET_ENTRYPOINT: |
|
||||
#!/bin/bash
|
||||
. /scripts/utils.sh
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ services:
|
|||
LIVEKIT_OPENVIDU_NODE_PRIVATE_IP="$$(hostname -i)"
|
||||
export LIVEKIT_OPENVIDU_NODE_PRIVATE_IP
|
||||
|
||||
./livekit-server "$@"
|
||||
exec ./livekit-server "$@"
|
||||
OPENVIDU_V2_COMPAT_ENTRYPOINT: |
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
|
|
|||
Loading…
Reference in New Issue