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

Signed-off-by: David Anderson <dave@natulte.net>
pull/80/head
David Anderson 5 years ago
parent 76819e7432
commit 85ac82c386

@ -38,7 +38,7 @@ func main() {
tunname := getopt.StringLong("tun", 0, "tailscale0", "tunnel interface name") tunname := getopt.StringLong("tun", 0, "tailscale0", "tunnel interface name")
listenport := getopt.Uint16Long("port", 'p', magicsock.DefaultPort, "WireGuard port (0=autoselect)") listenport := getopt.Uint16Long("port", 'p', magicsock.DefaultPort, "WireGuard port (0=autoselect)")
statepath := getopt.StringLong("state", 0, "", "Path of state file") 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) logf := wgengine.RusagePrefixLog(log.Printf)

Loading…
Cancel
Save