diff options
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index f9200f54..b188f7e6 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -396,9 +396,9 @@ in { | |||
396 | cfg = config.services.prometheus.exporters.systemd; | 396 | cfg = config.services.prometheus.exporters.systemd; |
397 | in { | 397 | in { |
398 | serviceConfig = { | 398 | serviceConfig = { |
399 | ExecStart = mkForce "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter ${utils.escapeSystemdExecArgs [ | 399 | ExecStart = mkForce "${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter ${utils.escapeSystemdExecArgs ([ |
400 | "--web.listen-address" "${cfg.listenAddress}:${toString cfg.port}" | 400 | "--web.listen-address" "${cfg.listenAddress}:${toString cfg.port}" |
401 | ] ++ cfg.extraFlags}"; | 401 | ] ++ cfg.extraFlags)}"; |
402 | ReadWritePaths = ["/run/dbus/system_bus_socket"]; | 402 | ReadWritePaths = ["/run/dbus/system_bus_socket"]; |
403 | BindReadOnlyPaths = ["/proc" "/sys"]; | 403 | BindReadOnlyPaths = ["/proc" "/sys"]; |
404 | }; | 404 | }; |