author | Luke Hoersten <luke@hoersten.org> |
Sun, 10 May 2020 17:28:15 -0500 | |
changeset 3 | 74f60cd1440b |
parent 0 | 474ccafc2349 |
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=btcd |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
3 |
After=network.target |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
4 |
|
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
5 |
[Service] |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
6 |
ExecStart=/usr/local/bin/btcd |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
7 |
User={{btcd_user}} |
474ccafc2349
Initial commit of btcd and lnd roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
8 |
Restart=on-failure |
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 |