mirror of https://github.com/tteck/Proxmox.git
parent
f4bbf3bac0
commit
8456deb1f8
|
@ -42,7 +42,7 @@ LATEST=$(curl -sL https://api.github.com/repos/MediaBrowser/Emby.Releases/releas
|
|||
msg_info "Installing Emby"
|
||||
wget -q https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb
|
||||
$STD dpkg -i emby-server-deb_${LATEST}_amd64.deb
|
||||
sed -i '/^render:x:108:root,emby$/d; s/^ssl-cert:x:104:$/render:x:104:root,emby/' /etc/group
|
||||
sed -i -e 's/^ssl-cert:x:104:$/render:x:104:root,emby/' -e 's/^render:x:108:root,emby$/ssl-cert:x:108:/' /etc/group
|
||||
msg_ok "Installed Emby"
|
||||
|
||||
motd_ssh
|
||||
|
|
|
@ -58,7 +58,7 @@ EOF
|
|||
# Install Jellyfin using the metapackage (which will fetch jellyfin-server, jellyfin-web, and jellyfin-ffmpeg5)
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y jellyfin
|
||||
sed -i '/^render:x:108:root,jellyfin$/d; s/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' /etc/group
|
||||
sed -i -e 's/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' -e 's/^render:x:108:root,jellyfin$/ssl-cert:x:108:/' /etc/group
|
||||
msg_ok "Installed Jellyfin"
|
||||
|
||||
motd_ssh
|
||||
|
|
|
@ -45,7 +45,7 @@ msg_ok "Set Up Plex Media Server Repository"
|
|||
msg_info "Installing Plex Media Server"
|
||||
$STD apt-get update
|
||||
$STD apt-get -o Dpkg::Options::="--force-confold" install -y plexmediaserver
|
||||
sed -i '/^render:x:108:root$/d; s/^ssl-cert:x:104:plex$/render:x:104:root,plex/' /etc/group
|
||||
sed -i -e 's/^ssl-cert:x:104:plex$/render:x:104:root,plex/' -e 's/^render:x:108:root$/ssl-cert:x:108:plex/' /etc/group
|
||||
msg_ok "Installed Plex Media Server"
|
||||
|
||||
motd_ssh
|
||||
|
|
Loading…
Reference in New Issue