mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
polybar: restart service on failure
(cherry picked from commit 698d0f0a44
)
This commit is contained in:
parent
aa2f70def7
commit
d74320012e
1 changed files with 1 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue