mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +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
|
||||
echo "waiting 10 secs .."
|
||||
sleep 10
|
||||
/home/admin/config.scripts/bonus.rtl.sh menu lnd $CHAIN
|
||||
/home/admin/config.scripts/bonus.rtl.sh menu cln $CHAIN
|
||||
else
|
||||
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
||||
l2="Try manual install on terminal after reboot with:"
|
||||
|
@ -128,7 +128,7 @@ if [ "${tcrtlWebinterface}" != "${choice}" ]; then
|
||||
sudo systemctl start tcRTL
|
||||
echo "waiting 10 secs .."
|
||||
sleep 10
|
||||
/home/admin/config.scripts/bonus.rtl.sh menu lnd $CHAIN
|
||||
/home/admin/config.scripts/bonus.rtl.sh menu cln $CHAIN
|
||||
else
|
||||
l1="!!! FAIL on RTL for CLN $CHAIN install !!!"
|
||||
l2="Try manual install on terminal after reboot with:"
|
||||
|
@ -248,7 +248,7 @@ Wants=lnd.service
|
||||
After=lnd.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
|
||||
User=rtl
|
||||
Restart=always
|
||||
@ -282,8 +282,8 @@ WantedBy=multi-user.target
|
||||
|
||||
[Unit]
|
||||
Description=${netprefix}${typeprefix}RTL daemon
|
||||
Wants=${netprefix}lightning.service
|
||||
After=${netprefix}lightning.service
|
||||
Wants=${netprefix}lightningd.service
|
||||
After=${netprefix}lightningd.service
|
||||
|
||||
[Service]
|
||||
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
|
||||
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 "
|
||||
# systemd unit for c-lightning-REST for ${CHAIN}
|
||||
|
Loading…
Reference in New Issue
Block a user