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

[Unit]
Description=btcd
After=network.target

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

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

[Install]
WantedBy=multi-user.target