diff --git a/tools/docker-entrypoint.sh b/tools/docker-entrypoint.sh index 47e5c8cc4..de274ae16 100755 --- a/tools/docker-entrypoint.sh +++ b/tools/docker-entrypoint.sh @@ -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 - lightningd "$@" + exec lightningd "$@" fi