diff options
Diffstat (limited to 'roles/monitoring')
-rw-r--r-- | roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.service.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.service.j2 b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.service.j2 index a630088c..8ee60c02 100644 --- a/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.service.j2 +++ b/roles/monitoring/prometheus/exporter/node/templates/textfile-collector-scripts/smartmon.service.j2 @@ -9,8 +9,8 @@ ExecStart=bash -o pipefail -c "/usr/local/share/prometheus-node-exporter/smartmo TimeoutStartSec=30s # systemd hardening-options -AmbientCapabilities=CAP_SYS_RAWIO -CapabilityBoundingSet=CAP_SYS_RAWIO +AmbientCapabilities=CAP_SYS_RAWIO CAP_SYS_ADMIN +CapabilityBoundingSet=CAP_SYS_RAWIO CAP_SYS_ADMIN LockPersonality=true MemoryDenyWriteExecute=true NoNewPrivileges=true |