mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
26 lines
431 B
SYSTEMD
26 lines
431 B
SYSTEMD
|
# RTL service
|
||
|
# /etc/systemd/system/rtl.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=RTL
|
||
|
Wants=bitcoind.service
|
||
|
After=bitcoind.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
||
|
WorkingDirectory=/opt/mynode/RTL
|
||
|
ExecStart=/usr/bin/node rtl
|
||
|
|
||
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
|
Type=simple
|
||
|
LimitNOFILE=128000
|
||
|
TimeoutSec=240
|
||
|
Restart=always
|
||
|
RestartSec=60
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=rtl
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|