]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/cmd/govpn-server/main.go
Use YAML instead of JSON for server configuration file
[govpn.git] / src / govpn / cmd / govpn-server / main.go
index 9a73b25da3acb78a2832182d175750c53c97c340..e7abfdf19b94d0a3ffc1c07ca63bfa46f3c5e509 100644 (file)
@@ -33,7 +33,7 @@ import (
 var (
        bindAddr = flag.String("bind", "[::]:1194", "Bind to address")
        proto    = flag.String("proto", "udp", "Protocol to use: udp, tcp or all")
-       confPath = flag.String("conf", "peers.json", "Path to configuration JSON")
+       confPath = flag.String("conf", "peers.yaml", "Path to configuration YAML")
        stats    = flag.String("stats", "", "Enable stats retrieving on host:port")
        proxy    = flag.String("proxy", "", "Enable HTTP proxy on host:port")
        egdPath  = flag.String("egd", "", "Optional path to EGD socket")