mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
start proxy with daemon
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
"github.com/gravitl/netmaker/netclient/global_settings"
|
||||
"github.com/gravitl/netmaker/netclient/local"
|
||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||
netclientproxy "github.com/gravitl/netmaker/netclient/netclient-proxy"
|
||||
"github.com/gravitl/netmaker/netclient/wireguard"
|
||||
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
|
||||
)
|
||||
@@ -114,6 +115,7 @@ func startGoRoutines(wg *sync.WaitGroup) context.CancelFunc {
|
||||
}
|
||||
wg.Add(1)
|
||||
go Checkin(ctx, wg)
|
||||
go netclientproxy.Start()
|
||||
return cancel
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user