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
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/{cloner,viewer}: add support for map values with pointers 2 years ago
derper refactor: move from io/ioutil to io and os packages 2 years ago
derpprobe net/stun: convert to use net/netip.AddrPort 2 years ago
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 2 years ago
hello refactor: move from io/ioutil to io and os packages 2 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 2 years ago
nginx-auth cmd/nginx-auth/nginx-auth: update auth to allow for new domains 2 years ago
printdep Docker: add ALPINE.txt to manage alpine versions 2 years ago
proxy-to-grafana all: gofmt for Go 1.19 2 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale control/controlhttp: move Dial options into options struct (#5661) 2 years ago
tailscaled envknob: generalize Windows tailscaled-env.txt support 2 years ago
testcontrol all: use any instead of interface{} 2 years ago
tsconnect refactor: move from io/ioutil to io and os packages 2 years ago
tsshd cmd/tsshd: add a package line to appease gofmt 2 years ago
viewer cmd/viewer: add flag to support Clone generation without Views 2 years ago