mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update jellyfin_setup.sh
This commit is contained in:
parent
94902d1ee5
commit
dfa50871be
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user