aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-17 00:19:38 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-17 00:19:38 +0200
commit29fd67f47171f9a176eb6f7e0ecee3cc9f91c99a (patch)
tree11d552b33184c3cadb6caaa81ead6938b35254f4
parent68cac674a97459b0d891269abeb47aa3cea33523 (diff)
add restart on failure
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
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 ""
}";