mynode/rootfs/standard/etc/systemd/system/rtl.service

27 lines
477 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# RTL service
# /etc/systemd/system/rtl.service
[Unit]
Description=RTL
Wants=bitcoind.service
After=bitcoind.service
[Service]
2020-04-23 02:59:37 +00:00
ExecStartPre=/usr/bin/is_not_shutting_down.sh
2019-06-15 23:02:44 +00:00
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