mynode/rootfs/standard/etc/systemd/system/lnd.service
2019-06-15 18:02:44 -05:00

29 lines
516 B
Desktop File

# lnd service
# /etc/systemd/system/lnd.service
[Unit]
Description=LND Lightning Daemon
Wants=bitcoind.service
After=bitcoind.service
[Service]
ExecStartPre=/usr/bin/pre_lnd.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStart=/usr/local/bin/lnd
#ExecStartPost=/usr/bin/unlock_lnd.sh
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
LimitNOFILE=128000
TimeoutSec=240
Restart=always
RestartSec=1
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=lnd
[Install]
WantedBy=multi-user.target