Raspiblitz: PoC: Integrate with RTL

Created on 8 Oct 2018  路  6Comments  路  Source: rootzoll/raspiblitz

@rootzoll Opening this issue as discussed.
Please test integration of RTL web UI with Raspiblitz. The instructions for installation are on the repo:
https://github.com/ShahanaFarooqui/RTL/blob/master/README.md

Thanks

Most helpful comment

OK. RTL is now part if the service options and test ran OK. Will close ticket for now.

All 6 comments

You need to up to date nodejs for this (one line):

curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs

see this page: https://github.com/nodesource/distributions/blob/master/README.md

Once npm install ran thru - use the following to test start:

sudo -u bitcoin node rtl --lndir /mnt/hdd/lnd/data/chain/bitcoin/mainnet

This is the service file I am using:

sudo nano /etc/systemd/system/RTL.service

This is the content:

# Raspibolt RTL: systemd unit for RTL
# /etc/systemd/system/RTL.service

[Unit]
Description=RTL daemon
Wants=lnd.service
After=lnd.service

[Service]
/usr/bin/node /home/admin/RTLFullApplication/RTL/rtl --lndir /home/bitcoin/.lnd/data/chain/bitcoin/mainnet
User=bitcoin
Restart=always
TimeoutSec=120
RestartSec=30

[Install]
WantedBy=multi-user.target

Then enable and start it:

sudo systemctl enable RTL
sudo systemctl start RTL

Also need to open port 3000 on the firewall:

sudo ufw allow 3000
sudo ufw enable

TODO: adapt RTL.service to litecoin/bitcoin network

Added RTL install/deinstall to the mainmenu. Will be part of next SD card release.

Also added a feature request to the RTL development:
https://github.com/ShahanaFarooqui/RTL/issues/4

OK. RTL is now part if the service options and test ran OK. Will close ticket for now.

Was this page helpful?
0 / 5 - 0 ratings