Update jellyfin-install.sh

tweak
This commit is contained in:
tteckster 2024-08-28 11:35:08 -04:00 committed by GitHub
parent 158c309d71
commit df3047e295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,7 @@ EOF
$STD apt-get update $STD apt-get update
$STD apt-get install -y jellyfin $STD apt-get install -y jellyfin
chown -R jellyfin:adm /etc/jellyfin chown -R jellyfin:adm /etc/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/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' -e 's/^render:x:108:root,jellyfin$/ssl-cert:x:108:/' /etc/group
else else