mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-09 09:44:38 +00:00
tailscaled: default to a sock in current dir, for development.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
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…
x
Reference in New Issue
Block a user