Merge pull request #248126 from DDoSolitary/patch-netdata-ipc

nixos/netdata: fix position of NETDATA_PIPENAME
This commit is contained in:
Franz Pletz 2023-08-09 14:42:55 +02:00 committed by GitHub
commit b15eff32c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,9 +214,9 @@ in {
++ lib.optional config.virtualisation.libvirtd.enable (config.virtualisation.libvirtd.package);
environment = {
PYTHONPATH = "${cfg.package}/libexec/netdata/python.d/python_modules";
NETDATA_PIPENAME = "/run/netdata/ipc";
} // lib.optionalAttrs (!cfg.enableAnalyticsReporting) {
DO_NOT_TRACK = "1";
NETDATA_PIPENAME = "/run/netdata/ipc";
};
restartTriggers = [
config.environment.etc."netdata/netdata.conf".source