From d5ac5b572cfc2f28f9acbba259a297f4d1178b04 Mon Sep 17 00:00:00 2001 From: saubyk <39208279+saubyk@users.noreply.github.com> Date: Sun, 7 Oct 2018 18:29:02 -0400 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 2698d390..7c564eee 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,25 @@ If the server started successfully, you should get the below output on the conso ### Optional: Running RTL as a service (rpi or Linux platform users) In case you are running a headless rpi or Linux node, you can configure RTL as a service. +* 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 +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 + ## Accessing the Application You can access the application in two ways: