diff options
| -rw-r--r-- | fedora/jellyfin.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec index 74fe5bd29..82ff947b3 100644 --- a/fedora/jellyfin.spec +++ b/fedora/jellyfin.spec @@ -127,7 +127,8 @@ if [ $1 -gt 1 ] ; then if [ "${service_state}" = "active" ]; then systemctl start jellyfin.service fi - if [ "${service_state}" != "active" ]; then + if [ $1 -eq 1 ]; then + # On fresh install only, enable the jellyfin.service unit systemctl enable jellyfin.service fi fi |
