Merge pull request #255145 from BuonHobo/patch-1

jellyfin: Start service after network is up
This commit is contained in:
Fabián Heredia Montiel 2023-09-16 12:00:21 -06:00 committed by GitHub
commit f8056c5007
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,8 @@ in
config = mkIf cfg.enable {
systemd.services.jellyfin = {
description = "Jellyfin Media Server";
after = [ "network.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
# This is mostly follows: https://github.com/jellyfin/jellyfin/blob/master/fedora/jellyfin.service