mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
mpd-discord-rpc: restart on failure
This commit is contained in:
committed by
Robert Helgesson
parent
f26946858e
commit
1dbac84b84
@@ -48,7 +48,10 @@ in {
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.desktop" ];
|
||||
};
|
||||
Service.ExecStart = "${cfg.package}/bin/mpd-discord-rpc";
|
||||
Service = {
|
||||
ExecStart = "${cfg.package}/bin/mpd-discord-rpc";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user