Update jellyfin-install.sh

tweak
pull/3612/head
tteckster 2024-08-28 11:42:30 -04:00 committed by GitHub
parent df3047e295
commit 4696040e93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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
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/^ssl-cert:x:104:$/render:x:104:root,jellyfin/' -e 's/^render:x:108:root,jellyfin$/ssl-cert:x:108:/' /etc/group