mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-19 03:01:27 +00:00
fixes #1789
This commit is contained in:
@@ -27,6 +27,7 @@ class Server implements IpcCommunicator {
|
||||
}
|
||||
|
||||
public static Server create(Path socketPath) throws IOException {
|
||||
Files.createDirectories(socketPath.getParent());
|
||||
var address = UnixDomainSocketAddress.of(socketPath);
|
||||
var serverSocketChannel = ServerSocketChannel.open(StandardProtocolFamily.UNIX);
|
||||
serverSocketChannel.bind(address);
|
||||
|
||||
Reference in New Issue
Block a user