summaryrefslogtreecommitdiff
path: root/pkgs/tools/system/netdata/ipc-socket-in-run.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/netdata/ipc-socket-in-run.patch')
-rw-r--r--pkgs/tools/system/netdata/ipc-socket-in-run.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/tools/system/netdata/ipc-socket-in-run.patch b/pkgs/tools/system/netdata/ipc-socket-in-run.patch
new file mode 100644
index 000000000000..a117955af095
--- /dev/null
+++ b/pkgs/tools/system/netdata/ipc-socket-in-run.patch
@@ -0,0 +1,13 @@
+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