replace CLN with CL

This commit is contained in:
openoms 2021-09-27 10:46:30 +01:00
parent d84a9c2387
commit 37b2fb3e2d
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65
2 changed files with 4 additions and 4 deletions

View File

@ -421,7 +421,7 @@ else
echo "Provisioning RTL LND - keep default" >> ${logFile}
fi
# RTL (CLN)
# RTL (CL)
if [ "${crtlWebinterface}" = "on" ]; then
echo "Provisioning RTL CL - run config script" >> ${logFile}
sudo sed -i "s/^message=.*/message='Setup RTL (takes time)'/g" ${infoFile}

View File

@ -217,9 +217,9 @@ WantedBy=multi-user.target
sudo sed -i "s/^After=.*/After=${netprefix}lnd.service/g" /etc/systemd/system/${systemdService}.service
fi
CL
# adapt systemd service template for CLN
# adapt systemd service template for CL
if [ "${LNTYPE}" == "cl" ]; thenCL
echo "# modifying ${systemdService}.service for CLN"
echo "# modifying ${systemdService}.service for CL"
sudo sed -i "s/^Wants=.*/Wants=${netprefix}lightningd.service/g" /etc/systemd/system/${systemdService}.service
sudo sed -i "s/^After=.*/After=${netprefix}lightningd.service/g" /etc/systemd/system/${systemdService}.service
@ -391,7 +391,7 @@ if [ "$1" = "prestart" ]; then
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.configPath = \"${CLNCONF}\"" | \
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/\"" | \
jq ".nodes[0].Settings.userPersona = \"OPERATOR\"" | \