Skip to content

Commit 6eabc3f

Browse files
authored
Merge pull request zhaofengli#111 from jsoo1/restart-atticd-on-failure
nixos: restart atticd on failure
2 parents fbe252a + 8f5e3c1 commit 6eabc3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixos/atticd.nix

+2
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ in
199199
ProtectKernelTunables = true;
200200
ProtectProc = "invisible";
201201
ProtectSystem = "strict";
202+
Restart = "on-failure";
203+
RestartSec = 10;
202204
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
203205
RestrictNamespaces = true;
204206
RestrictRealtime = true;

0 commit comments

Comments
 (0)