btcd/templates/btcd.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 03 May 2020 15:55:50 -0500
changeset 2 0556e208fbee
parent 0 474ccafc2349
permissions -rw-r--r--
Made btcd and lnd arch changeable.

[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