lnd/templates/lnd.service.j2
author Luke Hoersten <luke@hoersten.org>
Fri, 01 May 2020 17:00:59 -0500
changeset 1 d3ef4e0b4baa
parent 0 474ccafc2349
child 4 9934a00b9e97
permissions -rw-r--r--
Expose lnd and btcd to listening public ip.

[Unit]
Description=lnd
Wants=btcd.service
After=btcd.service

[Service]
ExecStart=/usr/local/bin/lnd
User={{lnd_user}}
Restart=on-failure

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

[Install]
WantedBy=multi-user.target