mirror of
https://github.com/lnbook/lnbook
synced 2024-11-15 00:15:05 +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
|