docker-streaming-server/nginx-rtmp/docker-entrypoint.sh

11 lines
91 B
Bash
Executable File

#!/bin/sh
set -e
if [ "${1#-}" != "$1" ]
then
set -- /usr/sbin/nginx "$@"
fi
exec "$@"