Skip to content

Commit de39f2a

Browse files
Leo Weesegitbook-bot
authored andcommitted
GITBOOK-517: change request with no subject merged in GitBook
1 parent d6ee393 commit de39f2a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitbook/assets/history.png

54.3 KB
Loading

lightning-network-tools/lightning-terminal/get-lit.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ BTCPay contains an installation script for litd, which makes it easy to include
7070
`BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-lightning-terminal"`\
7171
`. btcpay-setup.sh -i`
7272
3. You can now find litd under Server Settings > Services
73+
4. To interact with `litd` and its subservers through the command line, first enter the docker container of your BTCPay instance:\
74+
`docker exec -it generated_lnd_lit_1 bash`
75+
5. Then, specify the TLS path and RPC port for your commands, e.g.:\
76+
`loop --tlscertpath /root/.lit/tls.cert --rpcserver localhost:8443 getinfo`\
77+
`litcli --tlscertpath /root/.lit/tls.cert --rpcserver localhost:8443 status`\
78+
`tapcli --tlscertpath /root/.lit/tls.cert --rpcserver localhost:8443 getinfo`
7379

7480
[Continue here: Connect to Terminal](connect.md)
75-

0 commit comments

Comments
 (0)