mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
rtl: install correctly for paralell chains
This commit is contained in:
parent
982a4d593f
commit
61e5887bb5
@ -128,7 +128,7 @@ if [ "${crtlWebinterface}" != "${choice}" ]; then
|
|||||||
sudo systemctl start cRTL
|
sudo systemctl start cRTL
|
||||||
echo "waiting 10 secs .."
|
echo "waiting 10 secs .."
|
||||||
sleep 10
|
sleep 10
|
||||||
/home/admin/config.scripts/bonus.rtl.sh menu lnd $CHAIN
|
/home/admin/config.scripts/bonus.rtl.sh menu cln $CHAIN
|
||||||
else
|
else
|
||||||
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
||||||
l2="Try manual install on terminal after reboot with:"
|
l2="Try manual install on terminal after reboot with:"
|
||||||
|
@ -128,7 +128,7 @@ if [ "${tcrtlWebinterface}" != "${choice}" ]; then
|
|||||||
sudo systemctl start tcRTL
|
sudo systemctl start tcRTL
|
||||||
echo "waiting 10 secs .."
|
echo "waiting 10 secs .."
|
||||||
sleep 10
|
sleep 10
|
||||||
/home/admin/config.scripts/bonus.rtl.sh menu lnd $CHAIN
|
/home/admin/config.scripts/bonus.rtl.sh menu cln $CHAIN
|
||||||
else
|
else
|
||||||
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
||||||
l2="Try manual install on terminal after reboot with:"
|
l2="Try manual install on terminal after reboot with:"
|
||||||
|
@ -248,7 +248,7 @@ Wants=lnd.service
|
|||||||
After=lnd.service
|
After=lnd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=\"RTL_CONFIG_PATH=/home/rtl/${netprefix}${typeprefix}RTL/\"
|
Environment=\"RTL_CONFIG_PATH=/home/rtl/${netprefix}RTL/\"
|
||||||
ExecStart=/usr/bin/node /home/rtl/RTL/rtl
|
ExecStart=/usr/bin/node /home/rtl/RTL/rtl
|
||||||
User=rtl
|
User=rtl
|
||||||
Restart=always
|
Restart=always
|
||||||
@ -282,8 +282,8 @@ WantedBy=multi-user.target
|
|||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=${netprefix}${typeprefix}RTL daemon
|
Description=${netprefix}${typeprefix}RTL daemon
|
||||||
Wants=${netprefix}lightning.service
|
Wants=${netprefix}lightningd.service
|
||||||
After=${netprefix}lightning.service
|
After=${netprefix}lightningd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=\"RTL_CONFIG_PATH=/home/rtl/${netprefix}RTL/\"
|
Environment=\"RTL_CONFIG_PATH=/home/rtl/${netprefix}RTL/\"
|
||||||
|
@ -64,7 +64,7 @@ if [ $1 = on ];then
|
|||||||
|
|
||||||
# symlink to /home/bitcoin/.lightning/lightning-rpc from the chosen network directory
|
# symlink to /home/bitcoin/.lightning/lightning-rpc from the chosen network directory
|
||||||
sudo rm /home/bitcoin/.lightning/lightning-rpc # delete old symlink
|
sudo rm /home/bitcoin/.lightning/lightning-rpc # delete old symlink
|
||||||
sudo ln -s /home/bitcoin/.lightning/${NETWORK}/lightning-rpc /home/bitcoin/.lightning/
|
sudo ln -s /home/bitcoin/.lightning/${CLNETWORK}/lightning-rpc /home/bitcoin/.lightning/
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
# systemd unit for c-lightning-REST for ${CHAIN}
|
# systemd unit for c-lightning-REST for ${CHAIN}
|
||||||
|
Loading…
Reference in New Issue
Block a user