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
This commit is contained in:
Joshua M. Boniface 2020-11-22 16:47:59 -05:00
parent 3442dbbaf9
commit d88504c1d6
1 changed files with 3 additions and 0 deletions

View File

@ -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