polybar: restart service on failure
(cherry picked from commit 698d0f0a44
)
This commit is contained in:
parent
aa2f70def7
commit
d74320012e
|
@ -131,6 +131,7 @@ in
|
|||
scriptPkg = pkgs.writeShellScriptBin "polybar-start" cfg.script;
|
||||
in
|
||||
"${scriptPkg}/bin/polybar-start";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
||||
Install = {
|
||||
|
|
Loading…
Reference in a new issue