lnd/templates/lnd.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 10 May 2020 17:28:15 -0500
changeset 3 74f60cd1440b
parent 0 474ccafc2349
child 4 9934a00b9e97
permissions -rw-r--r--
Config tweaks

[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