0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #80831 from Mic92/netdata

netdata: 1.19.0 -> 1.20.0
This commit is contained in:
Jörg Thalheim 2020-02-24 17:24:19 +00:00 committed by GitHub
commit ee08bd8dec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 657 additions and 107 deletions

View file

@ -72,6 +72,7 @@ let
resolution_type: GETDNS_RESOLUTION_STUB
dns_transport_list:
${fallbacks}
appdata_dir: "/var/cache/stubby"
tls_authentication: ${cfg.authenticationMode}
tls_query_padding_blocksize: ${toString cfg.queryPaddingBlocksize}
edns_client_subnet_private: ${if cfg.subnetPrivate then "1" else "0"}
@ -208,6 +209,7 @@ in
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
ExecStart = "${pkgs.stubby}/bin/stubby -C ${confFile} ${optionalString cfg.debugLogging "-l"}";
DynamicUser = true;
CacheDirectory = "stubby";
};
};
};