Merge pull request #314418 from SuperSandro2000/mopidy-online

nixos/mopidy: add wants network-online.target to fix warning
This commit is contained in:
Sandro 2024-05-30 10:16:35 +02:00 committed by GitHub
commit 357ccb3199
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -78,6 +78,7 @@ in {
systemd.services.mopidy = {
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" "sound.target" ];
wants = [ "network-online.target" ];
description = "mopidy music player daemon";
serviceConfig = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";