|
|
|
@ -70,9 +70,11 @@ In case you are running a headless rpi or Linux node, you can configure RTL as a
|
|
|
|
|
* Create RTL systemd unit and with the following content. Save and exit.
|
|
|
|
|
|
|
|
|
|
`# Raspibolt RTL: systemd unit for RTL`
|
|
|
|
|
|
|
|
|
|
`# /etc/systemd/system/RTL.service`
|
|
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
|
|
|
|
|
|
Description=RTL daemon
|
|
|
|
|
|
|
|
|
|
Wants=lnd.service
|
|
|
|
@ -80,16 +82,24 @@ Wants=lnd.service
|
|
|
|
|
After=lnd.service
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
|
|
|
|
|
ExecStart=/usr/bin/node /home/admin/Projects/RTL/rtl --lndir /home/admin/.lnd/data/chain/bitcoin/testnet/
|
|
|
|
|
User=root
|
|
|
|
|
Restart=always
|
|
|
|
|
TimeoutSec=120
|
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
|
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
|
|
* enable and start RTL
|
|
|
|
|
`$ sudo systemctl enable RTL`
|
|
|
|
|
`$ sudo systemctl start RTL`
|
|
|
|
|
|
|
|
|
|
* montior the RTL log file in realtime(exit with Ctrl-C)
|
|
|
|
|
`$ sudo jounrnalctl -f -u RTL`
|
|
|
|
|
|
|
|
|
|
## Accessing the Application
|
|
|
|
|
|
|
|
|
|
You can access the application in two ways:
|
|
|
|
|