mirror of
https://github.com/accumulator/charge-lnd.git
synced 2026-08-13 12:33:01 +02:00
Make docker-entrypoint.sh compatible with charge_lnd.py
Make TLS_CERT_PATH and MACAROON_PATH arguments in docker-entrypoint.sh compatible with charge_lnd.py and fix documentation.
This commit is contained in:
parent
ff0cdc703a
commit
8c5836671c
2 changed files with 5 additions and 5 deletions
|
|
@ -17,9 +17,9 @@ usage: charge-lnd [-h] [--lnddir LNDDIR] [--grpc GRPC] [--electrum-server ELECTR
|
|||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
--lnddir LNDDIR (default ~/.lnd) lnd directory
|
||||
--tlscertpath TLS_CERT_PATH
|
||||
--tlscert TLS_CERT_PATH
|
||||
(default [lnddir]/tls.cert) path to lnd TLS certificate
|
||||
--macaroonpath MACAROON_PATH
|
||||
--macaroon MACAROON_PATH
|
||||
(default [lnddir]/data/chain/bitcoin/mainnet/charge-lnd.macaroon) path to lnd auth macaroons
|
||||
--grpc GRPC (default localhost:10009) lnd gRPC endpoint
|
||||
--electrum-server ELECTRUM_SERVER
|
||||
|
|
|
|||
|
|
@ -6,15 +6,15 @@ then
|
|||
exec /usr/local/bin/charge-lnd \
|
||||
--grpc "${GRPC_LOCATION}" \
|
||||
--lnddir "${LND_DIR}" \
|
||||
--tlscertpath "${TLS_CERT_PATH}"
|
||||
--tlscert "${TLS_CERT_PATH}" \
|
||||
-c "${CONFIG_LOCATION}" \
|
||||
"$@"
|
||||
else
|
||||
exec /usr/local/bin/charge-lnd \
|
||||
--grpc "${GRPC_LOCATION}" \
|
||||
--lnddir "${LND_DIR}" \
|
||||
--tlscertpath "${TLS_CERT_PATH}"
|
||||
--macaroonpath "${MACAROON_PATH}"
|
||||
--tlscert "${TLS_CERT_PATH}" \
|
||||
--macaroon "${MACAROON_PATH}" \
|
||||
-c "${CONFIG_LOCATION}" \
|
||||
"$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue