Compare commits
1 Commits
btcpaymast
...
fix/docker
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afa65b0a04 |
@ -4,7 +4,7 @@
|
||||
|
||||
if [ "$EXPOSE_TCP" == "true" ]; then
|
||||
set -m
|
||||
lightningd "$@" &
|
||||
lightningd --plugin-dir=/usr/libexec/c-lightning/plugins "$@" &
|
||||
|
||||
echo "C-Lightning starting"
|
||||
while read -r i; do if [ "$i" = "lightning-rpc" ]; then break; fi; done \
|
||||
@ -15,5 +15,5 @@ if [ "$EXPOSE_TCP" == "true" ]; then
|
||||
socat "TCP4-listen:$LIGHTNINGD_RPC_PORT,fork,reuseaddr" "UNIX-CONNECT:$LIGHTNINGD_DATA/lightning-rpc" &
|
||||
fg %-
|
||||
else
|
||||
exec lightningd "$@"
|
||||
exec lightningd --plugin-dir=/usr/libexec/c-lightning/plugins "$@"
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user