rtmp-record/docker-entrypoint.sh

9 lines
169 B
Bash
Raw Normal View History

2020-02-03 20:50:04 +00:00
#!/usr/local/bin/dumb-init /bin/bash
set -euxo pipefail
# Ensure nginx can work with the /data dir
chown -R http /data
chgrp -R http /data
2020-02-03 20:50:04 +00:00
exec nginx -g "daemon off;"