From d88504c1d6b763e1438678f673a2f62de8d7c10f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 22 Nov 2020 16:47:59 -0500 Subject: [PATCH] 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 --- fedora/jellyfin.spec | 3 +++ 1 file changed, 3 insertions(+) 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