lnd/templates/lnd.service.j2
author Luke Hoersten <luke@hoersten.org>
Tue, 12 May 2020 19:58:50 -0500
changeset 7 2a2d6fe367c4
parent 4 9934a00b9e97
child 24 a216f4e9b000
permissions -rw-r--r--
Added mdunnio rpi optimizations.

[Unit]
Description=lnd
Wants={{lnd_bitcoin_node}}.service
After={{lnd_bitcoin_node}}.service

[Service]
ExecStart=/usr/local/bin/lnd
User={{lnd_user}}

PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=true

[Install]
WantedBy=multi-user.target