Skip to content

Commit

Permalink
Merge pull request #111 from jsoo1/restart-atticd-on-failure
Browse files Browse the repository at this point in the history
nixos: restart atticd on failure
  • Loading branch information
zhaofengli authored Feb 14, 2024
2 parents fbe252a + 8f5e3c1 commit 6eabc3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/atticd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ in
ProtectKernelTunables = true;
ProtectProc = "invisible";
ProtectSystem = "strict";
Restart = "on-failure";
RestartSec = 10;
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
RestrictNamespaces = true;
RestrictRealtime = true;
Expand Down

0 comments on commit 6eabc3f

Please sign in to comment.