2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-16 21:27:59 +00:00
lnbook/code/docker/lnd/logtail.sh

9 lines
214 B
Bash
Raw Normal View History

2020-06-14 17:45:43 +00:00
#!/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