From e8b0f2e1ee268a30827fb65dc637d7cbd6ebd834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Mon, 29 Nov 2021 15:07:26 +0200 Subject: [PATCH] Update README to documment the new env vars. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfa2a41..cc4cd72 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,9 @@ go install github.com/edouardparis/lntop@latest ## Config -First time `lntop` is used a config file `.lntop/config.toml` is created -in the user home directory. +First time `lntop` is started, a config file `.lntop/config.toml` is created in the user's home directory. Change `address`, `cert` path and `macaroon` path according to your setup. -Change macaroon path according to your network. +The following environment variables, if present, will be used in the initial config file instead of the defaults, so you won't have to have `lntop` fail on the first start and then manually edit the config file: `LND_ADDRESS`, `CERT_PATH`, `MACAROON_PATH`. ```toml [logger]