lnd/templates/lnd.service.j2
changeset 4 9934a00b9e97
parent 0 474ccafc2349
child 24 a216f4e9b000
--- a/lnd/templates/lnd.service.j2	Sun May 10 17:28:15 2020 -0500
+++ b/lnd/templates/lnd.service.j2	Tue May 12 19:19:36 2020 -0500
@@ -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