You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscaled
Anton Tolchanov c070d39287 cmd/tailscaled: handle tailscaled symlink on macOS
When Tailscale is installed via Homebrew, `/usr/local/bin/tailscaled`
is a symlink to the actual binary.

Now when `tailscaled install-system-daemon` runs, it will not attempt
to overwrite that symlink if it already points to the tailscaled binary.
However, if executed binary and the link target differ, the path will
he overwritten - this can happen when a user decides to replace
Homebrew-installed tailscaled with a one compiled from source code.

Fixes #5353

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2 years ago
..
childproc
debug.go all: fix more resource leaks found by staticmajor 2 years ago
depaware.txt net/tstun: instrument Wrapper with statistics gathering (#5847) 2 years ago
install_darwin.go cmd/tailscaled: handle tailscaled symlink on macOS 2 years ago
install_windows.go
proxy.go
required_version.go
ssh.go
tailscaled.defaults
tailscaled.go all: fix more resource leaks found by staticmajor 2 years ago
tailscaled.openrc
tailscaled.service
tailscaled_bird.go
tailscaled_notwindows.go
tailscaled_test.go
tailscaled_windows.go
with_cli.go cmd/tailscaled: add opt-in support for linking CLI into daemon 2 years ago