nixos/prometheus-smartctl: set proper SystemCallFilter
This commit is contained in:
parent
f4342c11e5
commit
afb8d0e5a6
1 changed files with 1 additions and 4 deletions
|
@ -66,10 +66,7 @@ in {
|
|||
ProtectProc = "invisible";
|
||||
ProcSubset = "pid";
|
||||
SupplementaryGroups = [ "disk" ];
|
||||
SystemCallFilter = [
|
||||
"@system-service"
|
||||
"~@privileged @resources"
|
||||
];
|
||||
SystemCallFilter = [ "@system-service" "~@privileged" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue