Update jellyfin-install.sh

This commit is contained in:
cospeedster 2024-11-25 11:47:16 +01:00 committed by GitHub
parent 8e7a9f363a
commit f635886dd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,9 +55,9 @@ chown -R jellyfin:adm /etc/jellyfin
sleep 10 sleep 10
systemctl restart jellyfin systemctl restart jellyfin
if [[ "$CTTYPE" == "0" ]]; then if [[ "$CTTYPE" == "0" ]]; then
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 sed -i -e 's/^_ssh:x:104:$/render:x:104:root,jellyfin/' -e 's/^render:x:993:root,jellyfin$/_ssh:x:993:/' /etc/group
else else
sed -i -e 's/^ssl-cert:x:104:$/render:x:104:jellyfin/' -e 's/^render:x:108:jellyfin$/ssl-cert:x:108:/' /etc/group sed -i -e 's/^_ssh:x:104:$/render:x:104:jellyfin/' -e 's/^render:x:993:jellyfin$/_ssh:x:993:/' /etc/group
fi fi
msg_ok "Installed Jellyfin" msg_ok "Installed Jellyfin"