aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-11-22 16:47:59 -0500
committerJoshua M. Boniface <joshua@boniface.me>2020-11-22 16:49:12 -0500
commitd88504c1d6b763e1438678f673a2f62de8d7c10f (patch)
treeffdf9980d4138422331ec5a76af360555ca71b1f
parent3442dbbaf96f98f3106afba3d98be169ff63fd97 (diff)
Set systemctl enabled on Jellyfin service
This was not set for Fedora; I do not recall if this was just an oversight or was explicitly removed in the past; open to feedback there. Reported in the LUP Bug-A-Thon
-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