Merge pull request #111 from jsoo1/restart-atticd-on-failure

nixos: restart atticd on failure
This commit is contained in:
Zhaofeng Li 2024-02-14 07:47:33 -07:00 committed by GitHub
commit 6eabc3f02f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -199,6 +199,8 @@ in
ProtectKernelTunables = true; ProtectKernelTunables = true;
ProtectProc = "invisible"; ProtectProc = "invisible";
ProtectSystem = "strict"; ProtectSystem = "strict";
Restart = "on-failure";
RestartSec = 10;
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ]; RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
RestrictNamespaces = true; RestrictNamespaces = true;
RestrictRealtime = true; RestrictRealtime = true;