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>
2022-09-16 15:30:19 -07:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/{cloner,viewer}: add support for map values with pointers 2022-08-03 13:02:17 -07:00
derper refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
derpprobe net/stun: convert to use net/netip.AddrPort 2022-08-15 12:46:01 -04:00
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 2022-09-01 13:38:32 -04:00
hello refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nginx-auth cmd/nginx-auth/nginx-auth: update auth to allow for new domains 2022-08-31 20:18:13 -07:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale control/controlhttp: move Dial options into options struct (#5661) 2022-09-16 15:06:25 -04:00
tailscaled envknob: generalize Windows tailscaled-env.txt support 2022-09-16 15:30:19 -07:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
tsshd cmd/tsshd: add a package line to appease gofmt 2022-07-25 20:52:04 -07:00
viewer cmd/viewer: add flag to support Clone generation without Views 2022-08-17 15:15:27 -07:00