src.nth.io/

summaryrefslogtreecommitdiff
path: root/bitcoind/templates/bitcoind.service.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2025-08-03 12:51:13 -0500
committerLuke Hoersten <[email protected]>2025-08-03 12:51:13 -0500
commit4f6c1ba4204462daf76cbd514180fef58bc6f200 (patch)
tree0c87b04f7f891d7db47e1bb1530b172ae27850d0 /bitcoind/templates/bitcoind.service.j2
parentbda90a6ee41963ae5b8e84878bcba8cab4d83a69 (diff)
Lots of performance updates and added some flags for reindexing etc. Also added zram comporession.
Diffstat (limited to 'bitcoind/templates/bitcoind.service.j2')
-rw-r--r--bitcoind/templates/bitcoind.service.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/bitcoind/templates/bitcoind.service.j2 b/bitcoind/templates/bitcoind.service.j2
index dfcc6e5..7c4525a 100644
--- a/bitcoind/templates/bitcoind.service.j2
+++ b/bitcoind/templates/bitcoind.service.j2
@@ -3,7 +3,8 @@ Description=bitcoind
After=network.target
[Service]
-ExecStart=/usr/local/bin/bitcoind
+ExecStart=/usr/local/bin/bitcoind{% if bitcoind_reindex %} -reindex{% endif %}
+
User={{bitcoind_user}}
PrivateTmp=true