Skip to content

Commit ae63d9d

Browse files
committed
doc: document how to shutdown LiT
Fixes #171.
1 parent 8374b6d commit ae63d9d

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

doc/config-lnd-integrated.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,3 +357,12 @@ You can easily create an alias for this by adding the following line to your
357357
```shell script
358358
alias lit-frcli="frcli --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.faraday/testnet/faraday.macaroon"
359359
```
360+
361+
## Shutting down LiT
362+
363+
In the integrated mode LiT can be shut down by stopping the integrated `lnd`
364+
node:
365+
366+
```shell
367+
⛰ lncli stop
368+
```

doc/config-lnd-remote.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,3 +276,15 @@ file:
276276
```shell script
277277
alias lit-frcli="frcli --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.faraday/testnet/faraday.macaroon"
278278
```
279+
280+
## Shutting down LiT
281+
282+
In the remote mode, there is no explicit command for stopping LiT yet. But a
283+
clean shutdown can be achieved by either pressing `<Ctrl> + c` in the terminal
284+
where LiT is running. Or, if LiT is running in the background, the following
285+
command can be used to send an interrupt signal which will trigger the clean
286+
shutdown:
287+
288+
```shell
289+
kill -s INT $(pidof litd)
290+
```

0 commit comments

Comments
 (0)