blob: 0c4229d5cb56052f4b38f82fe902b2ed963ab970 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=Ride the Lightning daemon
After=network.target
Wants=lnd.service
After=lnd.service
[Service]
Type=simple
Environment="RTL_CONFIG_PATH=/etc/RTL"
Environment="RTL_LOG_PATH=/var/log/RTL"
LogsDirectory=RTL
ConfigurationDirectory=RTL
ExecStartPre=+chown bitcoin:bitcoin /etc/RTL/RTL-Config.json
ExecStart=/usr/bin/node /opt/RTL/rtl
User=bitcoin
Group=bitcoin
Restart=on-failure
TimeoutSec=120
RestartSec=30
[Install]
WantedBy=multi-user.target
|