diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-29 20:58:54 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-29 20:58:54 +0100 |
commit | de4a30ef8a19c16d55321bbf719a77529e8875c7 (patch) | |
tree | e25eb36b9c8346967b08b4c480be1a302e1fa777 | |
parent | bf9bdbfe3d6151b6dd4dd45ed3cabf0891c5b223 (diff) | |
download | nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.gz nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.bz2 nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.tar.xz nixos-de4a30ef8a19c16d55321bbf719a77529e8875c7.zip |
...
-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 | }; |