mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
Update README.md
This commit is contained in:
parent
8e676615c1
commit
b9a6a788cc
18
README.md
18
README.md
@ -68,35 +68,25 @@ If the server started successfully, you should get the below output on the conso
|
|||||||
In case you are running a headless rpi or Linux node, you can configure RTL as a service.
|
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.
|
* Create RTL systemd unit and with the following content. Save and exit.
|
||||||
|
```bash
|
||||||
`# Raspibolt RTL: systemd unit for RTL`
|
# Raspibolt RTL: systemd unit for RTL
|
||||||
|
# /etc/systemd/system/RTL.service
|
||||||
`# /etc/systemd/system/RTL.service`
|
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|
||||||
Description=RTL daemon
|
Description=RTL daemon
|
||||||
|
|
||||||
Wants=lnd.service
|
Wants=lnd.service
|
||||||
|
|
||||||
After=lnd.service
|
After=lnd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
||||||
ExecStart=/usr/bin/node /home/admin/Projects/RTL/rtl --lndir /home/admin/.lnd/data/chain/bitcoin/testnet/
|
ExecStart=/usr/bin/node /home/admin/Projects/RTL/rtl --lndir /home/admin/.lnd/data/chain/bitcoin/testnet/
|
||||||
|
|
||||||
User=`<user>`
|
User=`<user>`
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
|
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
```
|
||||||
|
|
||||||
* enable and start RTL
|
* enable and start RTL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user