src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnd
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-12 19:19:36 -0500
committerLuke Hoersten <[email protected]>2020-05-12 19:19:36 -0500
commite15954d16ab8fa98faae42afd828dd2a55324ba7 (patch)
tree7ded7b4876a23720114b019c0682b0a467b645b8 /lnd
parent42436cd2092d53f403b4b59fb77e63ab52fa6356 (diff)
Added bitcoind ansible
Diffstat (limited to 'lnd')
-rw-r--r--lnd/templates/lnd.service.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/lnd/templates/lnd.service.j2 b/lnd/templates/lnd.service.j2
index 1e826ca..9f36abb 100644
--- a/lnd/templates/lnd.service.j2
+++ b/lnd/templates/lnd.service.j2
@@ -1,12 +1,11 @@
[Unit]
Description=lnd
-Wants=btcd.service
-After=btcd.service
+Wants={{lnd_bitcoin_node}}.service
+After={{lnd_bitcoin_node}}.service
[Service]
ExecStart=/usr/local/bin/lnd
User={{lnd_user}}
-Restart=on-failure
PrivateTmp=true
ProtectSystem=full