Skip to content

The Free Software Media System - Server Backend & API

Set systemctl enabled on Jellyfin service

Joshua M. Bonifaced88504c1d6b7
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec
index 13305488e2..74fe5bd292 100644
--- a/fedora/jellyfin.spec
+++ b/fedora/jellyfin.spec
@@ -127,6 +127,9 @@ if [ $1 -gt 1 ] ; then
if [ "${service_state}" = "active" ]; then
systemctl start jellyfin.service
fi
+ if [ "${service_state}" != "active" ]; then
+ systemctl enable jellyfin.service
+ fi
fi
%systemd_post jellyfin.service