video-iac/docker/coturn/rootfs/usr/local/bin/docker-entrypoint.sh

10 lines
174 B
Bash

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