Use /tmp folder for unix sockets

This commit is contained in:
Malte Rosenbjerg 2020-10-25 17:50:28 +01:00
parent 564a9e6cfd
commit 26f5b0f4f4

View file

@ -13,7 +13,7 @@ public static string GetPipePath(string pipeName)
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
return $@"\\.\pipe\{pipeName}";
else
return $"unix:/run/CoreFxPipe_{pipeName}";
return $"unix:/tmp/CoreFxPipe_{pipeName}";
}
}
}