fix: use the absolute path of suez

This commit is contained in:
openoms 2023-05-23 16:48:11 +01:00
parent 3ed2502cab
commit 9752773caa
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65
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