prometheus.exporters.smartctl: Allow RAWIO

This allows the exporter to perform SCSI commands and interact with hpsa
and cciss devices.
This commit is contained in:
Martin Weinelt 2022-01-27 13:35:32 +01:00
parent 2d34099b4c
commit f860b289d4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -41,9 +41,11 @@ in {
serviceOpts = {
serviceConfig = {
AmbientCapabilities = [
"CAP_RAW_SYSIO"
"CAP_SYS_ADMIN"
];
CapabilityBoundingSet = [
"CAP_RAW_SYSIO"
"CAP_SYS_ADMIN"
];
DevicePolicy = "closed";