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
Brad Fitzpatrick 65c24b6334 envknob: generalize Windows tailscaled-env.txt support
ipnserver previously had support for a Windows-only environment
variable mechanism that further only worked when Windows was running
as a service, not from a console.

But we want it to work from tailscaed too, and we want it to work on
macOS and Synology. So move it to envknob, now that envknob can change
values at runtime post-init.

A future change will wire this up for more platforms, and do something
more for CLI flags like --port, which the bug was originally about.

Updates #5114

Change-Id: I9fd69a9a91bb0f308fc264d4a6c33e0cbe352d71
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 2 years ago
debug.go refactor: move from io/ioutil to io and os packages 2 years ago
depaware.txt net/dns/{publicdns,resolver}: add NextDNS DoH support 2 years ago
install_darwin.go refactor: move from io/ioutil to io and os packages 2 years ago
install_windows.go all: require Go 1.19 2 years ago
proxy.go all: require Go 1.19 2 years ago
required_version.go all: require Go 1.19 2 years ago
ssh.go all: gofmt all 2 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 4 years ago
tailscaled.go envknob: generalize Windows tailscaled-env.txt support 2 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 3 years ago
tailscaled_bird.go all: require Go 1.19 2 years ago
tailscaled_notwindows.go all: require Go 1.19 2 years ago
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 2 years ago
tailscaled_windows.go envknob: generalize Windows tailscaled-env.txt support 2 years ago
with_cli.go cmd/tailscaled: add opt-in support for linking CLI into daemon 2 years ago