daemonaddr

package
v0.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveUnixDaemonAddr

func ResolveUnixDaemonAddr(addr string) string

ResolveUnixDaemonAddr checks whether the default Unix socket exists and, if not, scans /var/run/netbird/ for a single .sock file to use instead. This handles the mismatch between the netbird@.service template (which places the socket under /var/run/netbird/<instance>.sock) and the CLI default (/var/run/netbird.sock).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL