From e05f5aa352f6ba55562a0afade0fa9046aeaf0d1 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 22 Apr 2020 23:52:04 +0200 Subject: [pkg] initialize service early for windows --- pkg/helper/linux.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkg/helper/linux.go') diff --git a/pkg/helper/linux.go b/pkg/helper/linux.go index 5aa7e14..235351b 100644 --- a/pkg/helper/linux.go +++ b/pkg/helper/linux.go @@ -45,10 +45,13 @@ func parseCliArgs() { // linux helper does not reply to args } +func initializeService(port int) {} + func daemonize() {} -func doHandleCommands(port int) { - runCommandServer("localhost:" + strconv.Itoa(port)) +func runServer(port int) { + // defined in helper.go + serveHTTP("localhost:" + strconv.Itoa(port)) } func getOpenvpnPath() string { -- cgit v1.2.3