Merge pull request #304205 from cafkafk/fix-281851
nixos/prometheus-redis-exporter: allow `AF_UNIX`
This commit is contained in:
commit
ab7b278a52
|
@ -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