13 lines
293 B
Bash
13 lines
293 B
Bash
|
|
#!/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
|