Merge pull request #315830 from NixOS/backport-314418-to-release-24.05

[Backport release-24.05] nixos/mopidy: add wants network-online.target to fix warning
This commit is contained in:
Aleksana
2024-05-31 19:34:14 +08:00
committed by GitHub

View File

@@ -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)}";