src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnd
diff options
context:
space:
mode:
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