Document environment variables, fixes #772
Compare changes
+ 41
− 15
@@ -20,10 +22,10 @@
There are two AUR packages for Arch Linux. There is [riseup-vpn-git](https://aur.archlinux.org/packages/riseup-vpn-git) that tracks main branch, so expect some instabilities (early birds catch the bugs they say, and we're thankful for that). There is also [riseup-vpn](https://aur.archlinux.org/packages/riseup-vpn) with the latest stable release.
@@ -46,16 +48,24 @@ sudo apt update
@@ -65,9 +75,9 @@ You need at least go 1.20.
@@ -85,7 +95,7 @@ You need to have installed and added to your user PATH (mentioned version tested
@@ -93,12 +103,12 @@ Build script uses a symbolic link in one of the stages. Unfortunately Cygwin can
@@ -107,8 +117,8 @@ After successful build application will be available at: `build/qt/release/riseu
@@ -118,7 +128,23 @@ Linux: `~/.config/leap/systray.log`
Log levels can be set via environment variable (`LOG_LEVEL=TRACE`, `LOG_LEVEL=DEBUG`, default log level is `INFO`). The cpp/qml part logs to stderr if env `DEBUG=1` is set. If `OPENVPN_LOG_TO_FILE=1` is set, the OpenVPN process writes its logs to [os.TempDir()](https://pkg.go.dev/os#TempDir)/leap-vpn.log. The verbosity of OpenVPN can be specified with env `OPENVPN_VERBOSITY=4`.