From 29fd67f47171f9a176eb6f7e0ecee3cc9f91c99a Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Sep 2024 00:19:38 +0200 Subject: add restart on failure --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index a7f65c4..765c544 100644 --- a/flake.nix +++ b/flake.nix @@ -75,6 +75,7 @@ description = "WebTray Instance for ${name}"; serviceConfig = { Type = "simple"; + Restart = "on-failure"; ExecStart = "${self.packages.${pkgs.system}.default}/bin/webtray ${value.url}${ if value.openInWindow then " --open-at-startup" else "" }"; -- cgit v1.2.3-70-g09d2