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

33 lines
603 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# lnd service
# /etc/systemd/system/lnd.service
[Unit]
Description=LND Lightning Daemon
Wants=bitcoin.service
After=bitcoin.service
2019-06-15 23:02:44 +00:00
[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/pre_lnd.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStartPre=+/usr/bin/mynode_gen_lnd_config.sh
ExecStart=/usr/local/bin/lnd
2019-06-15 23:02:44 +00:00
User=bitcoin
Group=bitcoin
Type=simple
KillMode=process
2019-06-15 23:02:44 +00:00
LimitNOFILE=128000
TimeoutSec=240
2019-08-13 03:38:47 +00:00
Nice=-1
2020-05-09 03:36:14 +00:00
IOAccounting=true
IOWeight=400
2019-06-15 23:02:44 +00:00
Restart=always
RestartSec=1
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=lnd
[Install]
WantedBy=multi-user.target