Update jellyfin-install.sh

tweak
This commit is contained in:
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

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