cmd/tailscaled: run as a service on Windows

Updates #1232
This commit is contained in:
Brad Fitzpatrick
2021-02-05 08:46:12 -08:00
parent 7529b74018
commit 6099ecf7f4
3 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !windows
package main // import "tailscale.com/cmd/tailscaled"
import "tailscale.com/logpolicy"
func isWindowsService() bool { return false }
func runWindowsService(pol *logpolicy.Policy) error { panic("unreachable") }