From 63573b3d18afb060f9becbe9a3b6f2afdce9ef71 Mon Sep 17 00:00:00 2001 From: saubyk <39208279+saubyk@users.noreply.github.com> Date: Sun, 7 Oct 2018 18:35:48 -0400 Subject: [PATCH] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 86171108..31f5a5f4 100644 --- a/README.md +++ b/README.md @@ -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: