Move daemon code to dedicated package

This commit is contained in:
2025-04-02 00:18:18 -04:00
parent 1cd123ab31
commit e3d5c83968
4 changed files with 11 additions and 9 deletions
+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