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>
3 years ago
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 4 years ago
debug.go all: fix more resource leaks found by staticmajor 3 years ago
depaware.txt net/tstun: instrument Wrapper with statistics gathering (#5847) 3 years ago
install_darwin.go cmd/tailscaled: handle tailscaled symlink on macOS 3 years ago
install_windows.go all: require Go 1.19 3 years ago
proxy.go all: require Go 1.19 3 years ago
required_version.go all: require Go 1.19 3 years ago
ssh.go all: gofmt all 4 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 6 years ago
tailscaled.go all: fix more resource leaks found by staticmajor 3 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 4 years ago
tailscaled.service cmd/tailscaled: use explicit equal sign in --port=$PORT in tailscaled.service 3 years ago
tailscaled_bird.go all: require Go 1.19 3 years ago
tailscaled_notwindows.go all: require Go 1.19 3 years ago
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 4 years ago
tailscaled_windows.go all: consistently initialize Logf when creating tsdial.Dialers 3 years ago
with_cli.go cmd/tailscaled: add opt-in support for linking CLI into daemon 3 years ago