mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #4553 from joshuaboniface/enable-service-on-fedora
Enable jellyfin.service unit on Fedora fresh install
This commit is contained in:
commit
b187fe6fcb
@ -127,6 +127,10 @@ if [ $1 -gt 1 ] ; then
|
|||||||
if [ "${service_state}" = "active" ]; then
|
if [ "${service_state}" = "active" ]; then
|
||||||
systemctl start jellyfin.service
|
systemctl start jellyfin.service
|
||||||
fi
|
fi
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
|
# On fresh install only, enable the jellyfin.service unit
|
||||||
|
systemctl enable --now jellyfin.service
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
%systemd_post jellyfin.service
|
%systemd_post jellyfin.service
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user