diff --git a/daemon/1socketPathInteractive.go b/daemon/1socketPathInteractive.go new file mode 100644 index 0000000..8fb52e2 --- /dev/null +++ b/daemon/1socketPathInteractive.go @@ -0,0 +1,5 @@ +//go:build interactive + +package daemon + +var socketPath string // interactive clients are not expected to daemonize diff --git a/daemon/1sharedTermux.go b/daemon/1socketPathTermux.go similarity index 78% rename from daemon/1sharedTermux.go rename to daemon/1socketPathTermux.go index d4eb069..bffc9bc 100644 --- a/daemon/1sharedTermux.go +++ b/daemon/1socketPathTermux.go @@ -1,4 +1,4 @@ -//go:build android && termux +//go:build android && termux && !interactive package daemon diff --git a/daemon/1sharedUNIXGeneric.go b/daemon/1socketPathUNIXGeneric.go similarity index 69% rename from daemon/1sharedUNIXGeneric.go rename to daemon/1socketPathUNIXGeneric.go index d587e4e..dfb76ab 100644 --- a/daemon/1sharedUNIXGeneric.go +++ b/daemon/1socketPathUNIXGeneric.go @@ -1,4 +1,4 @@ -//go:build !windows && !android && !termux +//go:build !windows && !android && !termux && !interactive package daemon diff --git a/daemon/1sharedWindows.go b/daemon/1socketPathWindows.go similarity index 79% rename from daemon/1sharedWindows.go rename to daemon/1socketPathWindows.go index 889d3dd..ac19623 100644 --- a/daemon/1sharedWindows.go +++ b/daemon/1socketPathWindows.go @@ -1,4 +1,4 @@ -//go:build windows +//go:build windows && !interactive package daemon