mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
27 lines
534 B
Desktop File
27 lines
534 B
Desktop File
# RaspiBlitz: systemd unit for lnd
|
|
|
|
[Unit]
|
|
Description=LND Lightning Daemon
|
|
Wants=bitcoind.service
|
|
After=bitcoind.service
|
|
|
|
# for use with sendmail alert
|
|
#OnFailure=systemd-sendmail@%n
|
|
|
|
[Service]
|
|
EnvironmentFile=/mnt/hdd/raspiblitz.conf
|
|
ExecStart=/usr/local/bin/lnd --externalip=${publicIP}:${lndPort}
|
|
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
LimitNOFILE=128000
|
|
Type=simple
|
|
KillMode=process
|
|
TimeoutSec=180
|
|
Restart=always
|
|
RestartSec=60
|
|
StandardOutput=null
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |