about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2024-04-17 07:57:43 +0200
committerGitHub <noreply@github.com>2024-04-17 07:57:43 +0200
commitab7b278a52a5e09353341c72daaa8074b6ad4e90 (patch)
tree787c969028109231b3d7d4f0e3114456de10abff /nixos
parenteb2afad8133b6b35f54ce4532481dcc1f9748923 (diff)
parent1dcf30f141f60da0c540d9972fa41b54011888c3 (diff)
Merge pull request #304205 from cafkafk/fix-281851
nixos/prometheus-redis-exporter: allow `AF_UNIX`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/redis.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/redis.nix b/nixos/modules/services/monitoring/prometheus/exporters/redis.nix
index 71f94a700efd9..ee7d87e8e6150 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/redis.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/redis.nix
@@ -9,6 +9,7 @@ in
   port = 9121;
   serviceOpts = {
     serviceConfig = {
+      RestrictAddressFamilies = [ "AF_UNIX" ];
       ExecStart = ''
         ${pkgs.prometheus-redis-exporter}/bin/redis_exporter \
           -web.listen-address ${cfg.listenAddress}:${toString cfg.port} \