fix suez CLN config path

This commit is contained in:
openoms 2021-08-24 11:34:05 +01:00
parent b7199c5797
commit 40f0711dcc
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -85,10 +85,12 @@ case $CHOICE in
if [ ! -f /home/bitcoin/suez/suez ];then
/home/admin/config.scripts/bonus.suez.sh on
fi
cd /home/bitcoin/suez || exit 0
sudo -u bitcoin /home/bitcoin/.local/bin/poetry run ./suez \
--client=c-lightning \
--client-args=--conf=/home/bitcoin/.lightning/${netprefix}config
cd /home/bitcoin/suez || exit 0
command="sudo -u bitcoin /home/bitcoin/.local/bin/poetry run ./suez --client=c-lightning --client-args=--conf=${CLNCONF}"
echo "# Running the command:"
echo "${command}"
echo
$command
echo
echo "Press ENTER to return to main menu."
read key