1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# /etc/systemd/system/RTL.service [Unit] Description=RTL daemon Wants=lnd.service After=lnd.service [Service] Environment="RTL_CONFIG_PATH=/etc/RTL" ConfigurationDirectory=RTL ExecStart=/usr/bin/node /usr/lib/node_modules/rtl/rtl.js User=RTL Restart=always TimeoutSec=120 RestartSec=30 [Install] WantedBy=multi-user.target