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

30 lines
645 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=bitcoind.service
After=bitcoind.service
[Service]
ExecStartPre=/usr/bin/pre_lnd.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
2019-10-27 22:25:54 +00:00
ExecStart=/usr/local/bin/lnd --caches.channel-cache-size=35000 --ignore-historical-gossip-filters
2019-09-02 22:04:45 +00:00
ExecStartPost=/bin/echo 'abc' > /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/poke_login
2019-06-15 23:02:44 +00:00
User=bitcoin
Group=bitcoin
Type=simple
KillMode=control-group
LimitNOFILE=128000
TimeoutSec=240
2019-08-13 03:38:47 +00:00
Nice=-1
2019-06-15 23:02:44 +00:00
Restart=always
RestartSec=1
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=lnd
[Install]
WantedBy=multi-user.target