mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
mpd-discord-rpc: restart on failure
This commit is contained in:
parent
f26946858e
commit
1dbac84b84
1 changed files with 4 additions and 1 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue