Update jellyfin_setup.sh

This commit is contained in:
tteckster 2022-01-27 16:00:18 -05:00 committed by GitHub
parent 3b1e43cec0
commit e692f53107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,8 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
EOF
systemctl daemon-reload
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
sudo systemctl enable jellyfin &>/dev/null
usermod -a -G input jellyfin
usermod -a -G render jellyfin
systemctl enable jellyfin &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*