nixos/prometheus-redis-exporter: allow AF_UNIX
Fixes: #271851 Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
d08775d67c
commit
1dcf30f141
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user