polybar: restart service on failure
This commit is contained in:
parent
ec0459e139
commit
698d0f0a44
|
@ -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