mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-10-26 22:09:56 -04:00
Set socketPath for Termux
This commit is contained in:
1 parent
7ceea99f35
commit
4ddd3cf32c
2 files changed
+8
-3
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
//go:build android && termux
|
||||||
|
|
||||||
|
package daemon
|
||||||
|
|
||||||
|
import "path/filepath"
|
||||||
|
|
||||||
|
var socketPath = "/data/data/com.termux/files/usr/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
package daemon
|
package daemon
|
||||||
|
|
||||||
import (
|
import "path/filepath"
|
||||||
"path/filepath"
|
|
||||||
)
|
|
||||||
|
|
||||||
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||||
Reference in new issue
Block a user