Merge pull request #4553 from joshuaboniface/enable-service-on-fedora

Enable jellyfin.service unit on Fedora fresh install
This commit is contained in:
Bill Thornton 2020-11-23 14:14:01 -05:00 committed by GitHub
commit b187fe6fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,6 +127,10 @@ if [ $1 -gt 1 ] ; then
if [ "${service_state}" = "active" ]; then
systemctl start jellyfin.service
fi
if [ $1 -eq 1 ]; then
# On fresh install only, enable the jellyfin.service unit
systemctl enable --now jellyfin.service
fi
fi
%systemd_post jellyfin.service