lnd/templates/lnd.service.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 27 Apr 2020 11:17:52 -0500
changeset 0 474ccafc2349
child 4 9934a00b9e97
permissions -rw-r--r--
Initial commit of btcd and lnd roles.

[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