mpd-discord-rpc: restart on failure
This commit is contained in:
parent
f26946858e
commit
1dbac84b84
|
@ -48,7 +48,10 @@ in {
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
PartOf = [ "graphical-session.desktop" ];
|
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" ];
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue