openvidu/openvidu-server/docker/openvidu-coturn/docker-entrypoint.sh

8 lines
161 B
Bash

#!/bin/sh
# If command starts with an option, prepend with turnserver binary.
if [ "${1:0:1}" == '-' ]; then
set -- turnserver "$@"
fi
exec $(eval "echo $@")