Move daemon code to dedicated package

This commit is contained in:
RandyTheSilly committed 2025-04-02 00:18:18 -04:00
1 parent 1cd123ab31
commit e3d5c83968
4 files changed
+11 -9

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package daemon
import (
"os"
"path/filepath"
)
var binPath, _ = os.Executable() // store binary path
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path