doc: document how to shutdown LiT

Fixes #171.
This commit is contained in:
Oliver Gugger 2021-01-18 15:38:45 +01:00
parent 8374b6d39f
commit ae63d9d5fe
No known key found for this signature in database
GPG key ID: 8E4256593F177720
2 changed files with 21 additions and 0 deletions

View file

@ -357,3 +357,12 @@ You can easily create an alias for this by adding the following line to your
```shell script
alias lit-frcli="frcli --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.faraday/testnet/faraday.macaroon"
```
## Shutting down LiT
In the integrated mode LiT can be shut down by stopping the integrated `lnd`
node:
```shell
⛰ lncli stop
```

View file

@ -276,3 +276,15 @@ file:
```shell script
alias lit-frcli="frcli --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.faraday/testnet/faraday.macaroon"
```
## Shutting down LiT
In the remote mode, there is no explicit command for stopping LiT yet. But a
clean shutdown can be achieved by either pressing `<Ctrl> + c` in the terminal
where LiT is running. Or, if LiT is running in the background, the following
command can be used to send an interrupt signal which will trigger the clean
shutdown:
```shell
⛰ kill -s INT $(pidof litd)
```