nixos/prometheus-smartctl: set proper SystemCallFilter

This commit is contained in:
MidAutumnMoon 2022-10-25 16:47:09 +08:00
parent f4342c11e5
commit afb8d0e5a6
No known key found for this signature in database
GPG key ID: 3B9D690FD7E4664A

View file

@ -66,10 +66,7 @@ in {
ProtectProc = "invisible";
ProcSubset = "pid";
SupplementaryGroups = [ "disk" ];
SystemCallFilter = [
"@system-service"
"~@privileged @resources"
];
SystemCallFilter = [ "@system-service" "~@privileged" ];
};
};
}