From c82256e5a163f4a942e3148ac3fdb07e0810edf1 Mon Sep 17 00:00:00 2001 From: Arnas Udovicius Date: Thu, 18 Aug 2022 00:41:47 +0300 Subject: [PATCH] custom port --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 9d3b71f..b5596cf 100644 --- a/main.go +++ b/main.go @@ -16,6 +16,7 @@ import ( var ( hostname string + port string fileSrvHost string fileSrvPort string certificatePath string @@ -23,6 +24,7 @@ var ( func init() { flag.StringVar(&hostname, "hostname", "", "capsule hostname") + flag.StringVar(&port, "port", "1965", "capsule port") flag.StringVar(&certificatePath, "certificatePath", "", "capsule certificate path") flag.StringVar(&fileSrvHost, "fileSrvHost", "", "file push server host") flag.StringVar(&fileSrvPort, "fileSrvPort", "", "file push server port")