mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
8bc3e5aaea
* Add patch to put IPC socket into /run/netdata Co-authored-by: Jörg Thalheim <joerg@thalheim.io> * Update pkgs/tools/system/netdata/default.nix Co-authored-by: Jörg Thalheim <joerg@thalheim.io> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
14 lines
344 B
Diff
14 lines
344 B
Diff
diff --git a/daemon/commands.h b/daemon/commands.h
|
|
index bd4aabfe1cbe4..ce7eb3c730228 100644
|
|
--- a/daemon/commands.h
|
|
+++ b/daemon/commands.h
|
|
@@ -6,7 +6,7 @@
|
|
#ifdef _WIN32
|
|
# define PIPENAME "\\\\?\\pipe\\netdata-cli"
|
|
#else
|
|
-# define PIPENAME "/tmp/netdata-ipc"
|
|
+# define PIPENAME "/run/netdata/ipc"
|
|
#endif
|
|
|
|
#define MAX_COMMAND_LENGTH 4096
|