1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

polybar: restart service on failure

This commit is contained in:
Robert Helgesson 2019-09-03 23:51:23 +02:00
parent ec0459e139
commit 698d0f0a44
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -131,6 +131,7 @@ in
scriptPkg = pkgs.writeShellScriptBin "polybar-start" cfg.script; scriptPkg = pkgs.writeShellScriptBin "polybar-start" cfg.script;
in in
"${scriptPkg}/bin/polybar-start"; "${scriptPkg}/bin/polybar-start";
Restart = "on-failure";
}; };
Install = { Install = {