diff options
| author | Bill Thornton <thornbill@users.noreply.github.com> | 2020-11-23 14:14:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-23 14:14:01 -0500 |
| commit | b187fe6fcbb53a2d81091eca5747216078cad674 (patch) | |
| tree | 808a14995dbdb5b5a8723325bc31c92fab9b7223 | |
| parent | 02c1879533236b3aab5d15be58ea204aa1325206 (diff) | |
| parent | 5f135a4b469a1e8dbbc0e8dcfdb1d61496a81fb5 (diff) | |
Merge pull request #4553 from joshuaboniface/enable-service-on-fedora
Enable jellyfin.service unit on Fedora fresh install
| -rw-r--r-- | fedora/jellyfin.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.spec index 13305488e..4f4a30187 100644 --- a/fedora/jellyfin.spec +++ b/fedora/jellyfin.spec @@ -127,6 +127,10 @@ if [ $1 -gt 1 ] ; then if [ "${service_state}" = "active" ]; then systemctl start jellyfin.service fi + if [ $1 -eq 1 ]; then + # On fresh install only, enable the jellyfin.service unit + systemctl enable --now jellyfin.service + fi fi %systemd_post jellyfin.service |
