btcd/templates/btcd.service.j2
author Luke Hoersten <luke@hoersten.org>
Tue, 12 May 2020 19:19:36 -0500
changeset 4 9934a00b9e97
parent 0 474ccafc2349
permissions -rw-r--r--
Added bitcoind ansible

[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