bitcoind/templates/bitcoind.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 03 Aug 2025 12:51:13 -0500
changeset 41 85750c5b0661
parent 4 9934a00b9e97
permissions -rw-r--r--
Lots of performance updates and added some flags for reindexing etc. Also added zram comporession.

[Unit]
Description=bitcoind
After=network.target

[Service]
ExecStart=/usr/local/bin/bitcoind{% if bitcoind_reindex %} -reindex{% endif %}

User={{bitcoind_user}}

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

[Install]
WantedBy=multi-user.target