Improve GID mismatch fix

- Emby
- Jellyfin
- Plex
This commit is contained in:
tteckster 2024-02-20 22:41:09 -05:00 committed by GitHub
parent f4bbf3bac0
commit 8456deb1f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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