lnd/templates/lnd.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 30 Aug 2020 14:07:47 -0500
changeset 13 f052a25a2f96
parent 4 9934a00b9e97
child 24 a216f4e9b000
permissions -rw-r--r--
Update to bitcoind 0.20.1 and lnd 0.11.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
Description=lnd
4
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents: 0
diff changeset
     3
Wants={{lnd_bitcoin_node}}.service
9934a00b9e97 Added bitcoind ansible
Luke Hoersten <luke@hoersten.org>
parents: 0
diff changeset
     4
After={{lnd_bitcoin_node}}.service
0
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
[Service]
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
ExecStart=/usr/local/bin/lnd
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
User={{lnd_user}}
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
PrivateTmp=true
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
ProtectSystem=full
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
NoNewPrivileges=true
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
PrivateDevices=true
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
MemoryDenyWriteExecute=true
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    15
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    16
[Install]
474ccafc2349 Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
WantedBy=multi-user.target