author | Luke Hoersten <luke@hoersten.org> |
Mon, 08 Aug 2022 16:11:16 -0500 | |
changeset 24 | a216f4e9b000 |
parent 4 | 9934a00b9e97 |
child 25 | c2bab619cfb5 |
permissions | -rw-r--r-- |
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 | 3 |
Wants={{lnd_bitcoin_node}}.service |
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] |
24
a216f4e9b000
Added notify type to lnd service per docs.
Luke Hoersten <luke@hoersten.org>
parents:
4
diff
changeset
|
7 |
Type=notify |
0
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
8 |
ExecStart=/usr/local/bin/lnd |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
9 |
User={{lnd_user}} |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
10 |
|
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
11 |
PrivateTmp=true |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
12 |
ProtectSystem=full |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
13 |
NoNewPrivileges=true |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
14 |
PrivateDevices=true |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
15 |
MemoryDenyWriteExecute=true |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
16 |
|
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
17 |
[Install] |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
18 |
WantedBy=multi-user.target |