diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-08-18 09:41:13 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-13 14:40:36 +0100 |
commit | ca4af857328bae8c611402a6149017846ea014bf (patch) | |
tree | b0d68dd90fb0dce2cf0aace8e77ba69d381a3bc6 /manager/install.go | |
parent | build: enable arm building (diff) | |
download | wireguard-windows-ca4af857328bae8c611402a6149017846ea014bf.tar.xz wireguard-windows-ca4af857328bae8c611402a6149017846ea014bf.zip |
manager: add TcpIp service dependency for tunnels
Wintun waits for various TcpIp keys to populate, so have the tunnel
service depend on the TcpIp service.
Reported-by: Ferad Zyulkyarov <feradz@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'manager/install.go')
-rw-r--r-- | manager/install.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/install.go b/manager/install.go index f84a96ae..364cf336 100644 --- a/manager/install.go +++ b/manager/install.go @@ -156,7 +156,7 @@ func InstallTunnel(configPath string) error { ServiceType: windows.SERVICE_WIN32_OWN_PROCESS, StartType: mgr.StartAutomatic, ErrorControl: mgr.ErrorNormal, - Dependencies: []string{"Nsi"}, + Dependencies: []string{"Nsi", "TcpIp"}, DisplayName: "WireGuard Tunnel: " + name, SidType: windows.SERVICE_SID_TYPE_UNRESTRICTED, } |