sheepflix/entrypoint.sh

13 lines
293 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
# Start go-transcode in background if binary exists
if [ -x /usr/local/bin/go-transcode ]; then
echo "Starting go-transcode..."
/usr/local/bin/go-transcode &
fi
# Start sheepflix-api in foreground
echo "Starting sheepflix-api..."
exec /usr/local/bin/sheepflix-api