17 lines
225 B
Bash
Executable File
17 lines
225 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Start jellyfin
|
|
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
|
|
|
if [ ! -d /frontend ]; then
|
|
cd /frontend-src
|
|
make build
|
|
mv build /frontend
|
|
cd ..
|
|
rm -r /frontend-src
|
|
fi
|
|
|
|
cd /frontend
|
|
exec ./frontend
|