mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update jellyfin_setup.sh
This commit is contained in:
parent
30a6b63078
commit
915e80543c
@ -69,8 +69,13 @@ sudo wget https://repo.jellyfin.org/releases/server/linux/stable/combined/jellyf
|
|||||||
sudo tar xvzf jellyfin_10.7.7_amd64.tar.gz
|
sudo tar xvzf jellyfin_10.7.7_amd64.tar.gz
|
||||||
sudo ln -s jellyfin_10.7.7 jellyfin
|
sudo ln -s jellyfin_10.7.7 jellyfin
|
||||||
sudo mkdir data cache config log
|
sudo mkdir data cache config log
|
||||||
mkfile jellyfin.sh
|
|
||||||
cat >jellyfin.sh <<'EOF'
|
echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m"
|
||||||
|
sudo wget https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/4.4.1-1/jellyfin-ffmpeg_4.4.1-1-bullseye_amd64.deb &>/dev/null
|
||||||
|
sudo dpkg --install jellyfin-ffmpeg_4.4.1-1-bullseye_amd64.deb
|
||||||
|
echo -e "${CHECKMARK} \e[1;92m Creating Service file jellyfin.service... \e[0m"
|
||||||
|
FILE_PATH="/opt/jellyfin/jellyfin.sh"
|
||||||
|
cat >&FILE_PATH <<'EOF'
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
JELLYFINDIR="/opt/jellyfin"
|
JELLYFINDIR="/opt/jellyfin"
|
||||||
FFMPEGDIR="/usr/share/jellyfin-ffmpeg"
|
FFMPEGDIR="/usr/share/jellyfin-ffmpeg"
|
||||||
@ -84,10 +89,6 @@ $JELLYFINDIR/jellyfin/jellyfin \
|
|||||||
EOF
|
EOF
|
||||||
sudo chmod +x jellyfin.sh
|
sudo chmod +x jellyfin.sh
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m"
|
|
||||||
sudo wget https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/4.4.1-1/jellyfin-ffmpeg_4.4.1-1-bullseye_amd64.deb &>/dev/null
|
|
||||||
sudo dpkg --install jellyfin-ffmpeg_4.4.1-1-bullseye_amd64.deb &>/dev/null
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Creating Service file jellyfin.service... \e[0m"
|
|
||||||
service_path="/etc/systemd/system/jellyfin.service"
|
service_path="/etc/systemd/system/jellyfin.service"
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=Jellyfin
|
Description=Jellyfin
|
||||||
|
Loading…
Reference in New Issue
Block a user