Compare commits

...

1 Commits

Author SHA1 Message Date
nicolas.dorier
afa65b0a04 Use plugin directory in docker-entrypoint 2019-03-02 22:07:02 +09:00

View File

@ -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