summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/exporters/kea.nix
diff options
context:
space:
mode:
authorJared Baur <jaredbaur@fastmail.com>2022-10-12 20:29:33 -0700
committerJared Baur <jaredbaur@fastmail.com>2022-10-12 20:39:09 -0700
commit5d79c93d7748ed0952b397b5e01611fbb3982964 (patch)
tree5ae3017302a7fa84e0e274112742e3b9088320a0 /nixos/modules/services/monitoring/prometheus/exporters/kea.nix
parent50c692f317f93e7c4e4ebc5fccc49d764039ca0f (diff)
downloadnixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar.gz
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar.bz2
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar.lz
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar.xz
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.tar.zst
nixpkgs-5d79c93d7748ed0952b397b5e01611fbb3982964.zip
nixos/prometheus-kea-exporter: Fix `ExecStart` arguments
The current `ExecStart` will not allow for multiple sockets to properly
be passed to the program since the extra newline character is interpreted to
be part of the socket path.
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/kea.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/kea.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/kea.nix b/nixos/modules/services/monitoring/prometheus/exporters/kea.nix
index 0682f9da400..ed33c72f644 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/kea.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/kea.nix
@@ -35,7 +35,7 @@ in {
         ${pkgs.prometheus-kea-exporter}/bin/kea-exporter \
           --address ${cfg.listenAddress} \
           --port ${toString cfg.port} \
-          ${concatStringsSep " \\n" cfg.controlSocketPaths}
+          ${concatStringsSep " " cfg.controlSocketPaths}
       '';
       SupplementaryGroups = [ "kea" ];
       RestrictAddressFamilies = [