d117549348
* fix tsx usage * Revert "Revert "Merge pull request #1521 from riccardobl/tordev"" This reverts commit 4cc3780eca1f1390bdd331f0e418b9a7efd4347e. * lightning module resolution * fix our one test
13 lines
340 B
Bash
13 lines
340 B
Bash
#!/bin/bash
|
|
|
|
ONION_DOMAIN=""
|
|
|
|
if [ -f /home/lnd/.tor/hidden_service/hostname ]; then
|
|
ONION_DOMAIN=$(cat /home/lnd/.tor/hidden_service/hostname)
|
|
fi
|
|
|
|
# expand the cmd arguments
|
|
args=$(echo "$@" | sed -e "s/\${ONION_DOMAIN}/$ONION_DOMAIN/g")
|
|
|
|
# Execute the original entry point script with the modified command line``
|
|
/entrypoint.sh $args |