src.nth.io/

summaryrefslogtreecommitdiff
path: root/bitcoind/templates/bitcoind.service.j2
blob: 7c4525a8dc58c9d652633afe020a2bc78ebc53a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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