mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-08-28 04:46:42 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13ae080af2 | ||
|
|
4bcff52758 | ||
|
|
4ddd3cf32c |
@@ -0,0 +1,5 @@
|
||||
//go:build interactive
|
||||
|
||||
package daemon
|
||||
|
||||
var socketPath string // interactive clients are not expected to daemonize
|
||||
@@ -0,0 +1,7 @@
|
||||
//go:build android && termux && !interactive
|
||||
|
||||
package daemon
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
var socketPath = "/data/data/com.termux/files/usr/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||
@@ -1,9 +1,7 @@
|
||||
//go:build !windows
|
||||
//go:build !windows && !android && !termux && !interactive
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
import "path/filepath"
|
||||
|
||||
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build windows
|
||||
//go:build windows && !interactive
|
||||
|
||||
package daemon
|
||||
|
||||
Reference in New Issue
Block a user