Use --now to the enable to start too

This commit is contained in:
Joshua M. Boniface 2020-11-22 17:01:13 -05:00
parent be4e485bd3
commit 5f135a4b46

View File

@ -129,7 +129,7 @@ if [ $1 -gt 1 ] ; then
fi fi
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
# On fresh install only, enable the jellyfin.service unit # On fresh install only, enable the jellyfin.service unit
systemctl enable jellyfin.service systemctl enable --now jellyfin.service
fi fi
fi fi
%systemd_post jellyfin.service %systemd_post jellyfin.service