bitcoind/templates/bitcoind.service.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 23 May 2022 21:00:48 -0500
changeset 22 99c49642ff78
parent 4 9934a00b9e97
permissions -rw-r--r--
Update versions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
Description=bitcoind
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
After=network.target
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
[Service]
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
ExecStart=/usr/local/bin/bitcoind
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
User={{bitcoind_user}}
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
PrivateTmp=true
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
ProtectSystem=full
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
NoNewPrivileges=true
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
PrivateDevices=true
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
MemoryDenyWriteExecute=true
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    15
[Install]
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    16
WantedBy=multi-user.target