Merge pull request #3865 from rootzoll/suez-fix

fix: use the absolute path of suez
This commit is contained in:
/rootzoll 2023-05-23 22:45:56 +02:00 committed by GitHub
commit 0cd4c8a8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -94,7 +94,7 @@ case $CHOICE in
fi
cd /home/bitcoin/suez || exit 1
echo
sudo -u bitcoin poetry run ./suez --client=c-lightning --client-args=--conf=${CLCONF}
sudo -u bitcoin poetry run /home/bitcoin/suez/suez --client=c-lightning --client-args=--conf=${CLCONF}
echo
echo "Press ENTER to return to main menu."
read key

View file

@ -118,7 +118,7 @@ case $CHOICE in
/home/admin/config.scripts/bonus.suez.sh on
fi
cd /home/bitcoin/suez || exit 1
sudo -u bitcoin poetry run ./suez \
sudo -u bitcoin poetry run /home/bitcoin/suez/suez \
--client-args=-n=${CHAIN} \
--client-args=--rpcserver=localhost:1${L2rpcportmod}009
echo

View file

@ -579,10 +579,10 @@ function suez() {
clear
echo "# Showing the channels of ${lightning} ${chain}net - consider reducing the font size (press CTRL- or CMD-)"
if [ ${lightning} = cl ]; then
sudo -u bitcoin poetry run ./suez \
sudo -u bitcoin poetry run /home/bitcoin/suez/suez \
--client=c-lightning --client-args=--conf=${CLCONF}
elif [ ${lightning} = lnd ]; then
sudo -u bitcoin poetry run ./suez \
sudo -u bitcoin poetry run /home/bitcoin/suez/suez \
--client-args=-n=${CHAIN} \
--client-args=--rpcserver=localhost:1${L2rpcportmod}009
fi