mirror of
https://github.com/lnbook/lnbook
synced 2024-11-06 21:20:29 +00:00
9 lines
214 B
Bash
9 lines
214 B
Bash
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
# Show LND log from beginning and follow
|
|
tail -n +1 -f /lnd/logs/bitcoin/regtest/lnd.log || true
|
|
|
|
# When tail is interrupted, shutdown LND
|
|
lncli --lnddir=/lnd --network regtest stop
|