Merge pull request #304205 from cafkafk/fix-281851

nixos/prometheus-redis-exporter: allow `AF_UNIX`
This commit is contained in:
Sarah Brofeldt 2024-04-17 07:57:43 +02:00 committed by GitHub
commit ab7b278a52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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} \