diff options
author | Robert Helgesson <robert@rycee.net> | 2019-09-03 23:51:23 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-09-03 23:51:23 +0200 |
commit | 698d0f0a442f12ac0cd70cbc46a69026cc86f7c8 (patch) | |
tree | 626b90e5eeb0052a5f2158e2d27e42b2c73cb29f /modules/services/polybar.nix | |
parent | ec0459e1394ace2ecb8750d91f20c38646486946 (diff) |
polybar: restart service on failure
Diffstat (limited to 'modules/services/polybar.nix')
-rw-r--r-- | modules/services/polybar.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/services/polybar.nix b/modules/services/polybar.nix index ae4b426ed13..4225ed9b38c 100644 --- a/modules/services/polybar.nix +++ b/modules/services/polybar.nix @@ -131,6 +131,7 @@ in scriptPkg = pkgs.writeShellScriptBin "polybar-start" cfg.script; in "${scriptPkg}/bin/polybar-start"; + Restart = "on-failure"; }; Install = { |