From 8d7856674e15086f347fbd7469e784017bc3d91a Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 18 Jun 2023 08:40:56 -0400 Subject: cmd/xedn: add app hostinfo Signed-off-by: Xe Iaso --- cmd/xedn/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd') diff --git a/cmd/xedn/main.go b/cmd/xedn/main.go index 812dbe9..fb9c739 100644 --- a/cmd/xedn/main.go +++ b/cmd/xedn/main.go @@ -25,6 +25,7 @@ import ( "github.com/sebest/xff" "go.etcd.io/bbolt" "golang.org/x/sync/singleflight" + "tailscale.com/hostinfo" "tailscale.com/metrics" "tailscale.com/tsnet" "tailscale.com/tsweb" @@ -368,6 +369,8 @@ func main() { internal.HandleStartup() ctx := opname.With(context.Background(), "startup") + hostinfo.SetApp("within.website/x/cmd/xedn") + os.MkdirAll(filepath.Join(*dir, "tsnet"), 0700) db, err := bbolt.Open(filepath.Join(*dir, "data"), 0600, &bbolt.Options{}) -- cgit v1.2.3