mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
replace CLN with CL
This commit is contained in:
@@ -421,7 +421,7 @@ else
|
|||||||
echo "Provisioning RTL LND - keep default" >> ${logFile}
|
echo "Provisioning RTL LND - keep default" >> ${logFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# RTL (CLN)
|
# RTL (CL)
|
||||||
if [ "${crtlWebinterface}" = "on" ]; then
|
if [ "${crtlWebinterface}" = "on" ]; then
|
||||||
echo "Provisioning RTL CL - run config script" >> ${logFile}
|
echo "Provisioning RTL CL - run config script" >> ${logFile}
|
||||||
sudo sed -i "s/^message=.*/message='Setup RTL (takes time)'/g" ${infoFile}
|
sudo sed -i "s/^message=.*/message='Setup RTL (takes time)'/g" ${infoFile}
|
||||||
|
@@ -217,9 +217,9 @@ WantedBy=multi-user.target
|
|||||||
sudo sed -i "s/^After=.*/After=${netprefix}lnd.service/g" /etc/systemd/system/${systemdService}.service
|
sudo sed -i "s/^After=.*/After=${netprefix}lnd.service/g" /etc/systemd/system/${systemdService}.service
|
||||||
fi
|
fi
|
||||||
CL
|
CL
|
||||||
# adapt systemd service template for CLN
|
# adapt systemd service template for CL
|
||||||
if [ "${LNTYPE}" == "cl" ]; thenCL
|
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/^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
|
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].lnNode = \"${hostname}\"" | \
|
||||||
jq ".nodes[0].lnImplementation = \"CLT\"" | \
|
jq ".nodes[0].lnImplementation = \"CLT\"" | \
|
||||||
jq ".nodes[0].Authentication.macaroonPath = \"CLme/bitcoin/c-lightning-REST/certs\"" | \
|
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.swapMacaroonPath = \"/home/rtl/.loop/${CHAIN}/\"" | \
|
||||||
jq ".nodes[0].Authentication.boltzMacaroonPath = \"/home/rtl/.boltz-lnd/macaroons/\"" | \
|
jq ".nodes[0].Authentication.boltzMacaroonPath = \"/home/rtl/.boltz-lnd/macaroons/\"" | \
|
||||||
jq ".nodes[0].Settings.userPersona = \"OPERATOR\"" | \
|
jq ".nodes[0].Settings.userPersona = \"OPERATOR\"" | \
|
||||||
|
Reference in New Issue
Block a user