From f0d0ed8c24f0cee8f7fd953341979c714f4af9dd Mon Sep 17 00:00:00 2001 From: theword3 <78681498+theword3@users.noreply.github.com> Date: Sun, 17 Oct 2021 11:47:08 +0300 Subject: [PATCH] bonus.rtl.sh: Fix C-Lightning changes of config (#2625) fixes #2626 --- home.admin/config.scripts/bonus.rtl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/bonus.rtl.sh b/home.admin/config.scripts/bonus.rtl.sh index 243e831a2..f1ab3b319 100755 --- a/home.admin/config.scripts/bonus.rtl.sh +++ b/home.admin/config.scripts/bonus.rtl.sh @@ -382,14 +382,14 @@ if [ "$1" = "prestart" ]; then # C-Lightning changes of config # https://github.com/Ride-The-Lightning/RTL/blob/master/docs/C-Lightning-setup.md - if [ "${LNCLE}" == "cl" ]; then + if [ "${LNTYPE}" == "cl" ]; then echo "# CL Config" cat /home/rtl/${systemdService}/RTL-Config.json | \ jq ".port = \"${RTLHTTP}\"" | \ jq ".multiPass = \"${RPCPASSWORD}\"" | \ jq ".nodes[0].lnNode = \"${hostname}\"" | \ jq ".nodes[0].lnImplementation = \"CLT\"" | \ - jq ".nodes[0].Authentication.macaroonPath = \"CLme/bitcoin/c-lightning-REST/certs\"" | \ + jq ".nodes[0].Authentication.macaroonPath = \"/home/bitcoin/c-lightning-REST/certs\"" | \ jq ".nodes[0].Authentication.configPath = \"${CLCONF}\"" | \ jq ".nodes[0].Authentication.swapMacaroonPath = \"/home/rtl/.loop/${CHAIN}/\"" | \ jq ".nodes[0].Authentication.boltzMacaroonPath = \"/home/rtl/.boltz-lnd/macaroons/\"" | \