diff --git a/modules/services/listenbrainz-mpd.nix b/modules/services/listenbrainz-mpd.nix index 0a55a9e4..5b949ebe 100644 --- a/modules/services/listenbrainz-mpd.nix +++ b/modules/services/listenbrainz-mpd.nix @@ -40,6 +40,10 @@ in { ExecStart = "${cfg.package}/bin/listenbrainz-mpd"; Restart = "always"; RestartSec = 5; + Type = if lib.versionAtLeast cfg.package.version "2.3.2" then + "notify" + else + "simple"; }; Install.WantedBy = [ "default.target" ]; };