diff options
author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-17 00:19:38 +0200 |
---|---|---|
committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-17 00:19:38 +0200 |
commit | 29fd67f47171f9a176eb6f7e0ecee3cc9f91c99a (patch) | |
tree | 11d552b33184c3cadb6caaa81ead6938b35254f4 /flake.nix | |
parent | 68cac674a97459b0d891269abeb47aa3cea33523 (diff) |
add restart on failure
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 "" }"; |