tailscaled: default to a sock in current dir, for development.

Signed-off-by: David Anderson <dave@natulte.net>
main
David Anderson 6 years ago
parent 76819e7432
commit 85ac82c386
  1. 2
      cmd/tailscaled/tailscaled.go

@ -38,7 +38,7 @@ func main() {
tunname := getopt.StringLong("tun", 0, "tailscale0", "tunnel interface name")
listenport := getopt.Uint16Long("port", 'p', magicsock.DefaultPort, "WireGuard port (0=autoselect)")
statepath := getopt.StringLong("state", 0, "", "Path of state file")
socketpath := getopt.StringLong("socket", 's', "/run/tailscale/tailscaled.sock", "Path of the service unix socket")
socketpath := getopt.StringLong("socket", 's', "tailscaled.sock", "Path of the service unix socket")
logf := wgengine.RusagePrefixLog(log.Printf)

Loading…
Cancel
Save