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

[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