From dfa50871bec2c6bfb3f66e28c0cc959734f6a2a7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 8 Feb 2022 21:28:04 -0500 Subject: [PATCH] Update jellyfin_setup.sh --- setup/jellyfin_setup.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/setup/jellyfin_setup.sh b/setup/jellyfin_setup.sh index ba841a21..5e505f7a 100644 --- a/setup/jellyfin_setup.sh +++ b/setup/jellyfin_setup.sh @@ -76,15 +76,12 @@ apt-get -y install ffmpeg &>/dev/null echo -e "${CHECKMARK} \e[1;92m Creating Service file jellyfin.service... \e[0m" file_path="/opt/jellyfin/jellyfin.sh" echo "#!/bin/bash -JELLYFINDIR="/opt/jellyfin" -FFMPEGDIR="/usr/share/jellyfin-ffmpeg" - -$JELLYFINDIR/jellyfin/jellyfin - -d $JELLYFINDIR/data - -C $JELLYFINDIR/cache - -c $JELLYFINDIR/config - -l $JELLYFINDIR/log - --ffmpeg $FFMPEGDIR/ffmpeg" > $file_path +/opt/jellyfin/jellyfin/jellyfin + -d /opt/jellyfin/data + -C /opt/jellyfin/cache + -c /opt/jellyfin/config + -l /opt/jellyfin/log + --ffmpeg /usr/share/jellyfin-ffmpeg/ffmpeg" > $file_path sudo chmod +x /opt/jellyfin/jellyfin.sh service_path="/etc/systemd/system/jellyfin.service"