nixos: restart atticd on failure

This commit is contained in:
John Soo 2024-02-08 11:39:12 -07:00
parent fbe252a5c2
commit 8f5e3c1035
No known key found for this signature in database
GPG key ID: 743B2A51EFBBEC13

View file

@ -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;