aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fedora/jellyfin.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec
index 13305488e..74fe5bd29 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