Add --reconnect flag (#43)

* Allow --reconnect and --random to work in unison

* Fix goreleaser
This commit is contained in:
DG
2021-08-09 22:59:45 -04:00
committed by GitHub
parent 61f5779346
commit c3c4bb44ba
3 changed files with 47 additions and 36 deletions

View File

@@ -72,12 +72,15 @@ If the country doesn't matter, a random server can be selected:
$ sudo vpngate connect --random
```
#### Reconnect
To continually attempt to reconnect (this can be combined with `--random`):
```console
$ sudo vpngate connect --reconnect
```
## Notes
- I do not maintain any of the servers on vpngate.net (connect to these servers at your own discretion)
- Many of the listed servers claim to have a logging policy of 2 weeks
## Todo
- Allow for servers to be cycled periodically (--cycle)