1diff --git a/daemon/commands.h b/daemon/commands.h
2index bd4aabfe1cbe4..ce7eb3c730228 100644
3--- a/daemon/commands.h
4+++ b/daemon/commands.h
5@@ -6,7 +6,7 @@
6 #ifdef _WIN32
7 # define PIPENAME "\\\\?\\pipe\\netdata-cli"
8 #else
9-# define PIPENAME "/tmp/netdata-ipc"
10+# define PIPENAME "/run/netdata/ipc"
11 #endif
12
13 #define MAX_COMMAND_LENGTH 4096