From 6475a497be4538ccf785f1a2c664367bbb8034b6 Mon Sep 17 00:00:00 2001 From: 21isenough Date: Fri, 1 Feb 2019 03:42:45 +0100 Subject: [PATCH] Add PublicIP to the lnd.service --- home.admin/assets/lnd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/assets/lnd.service b/home.admin/assets/lnd.service index 578c0da..345bc9f 100644 --- a/home.admin/assets/lnd.service +++ b/home.admin/assets/lnd.service @@ -10,7 +10,7 @@ After=bitcoind.service [Service] EnvironmentFile= -ExecStart=/usr/local/bin/lnd +ExecStart=/usr/local/bin/lnd --externalip=${publicIP} PIDFile=/home/bitcoin/.lnd/lnd.pid User=bitcoin Group=bitcoin @@ -22,4 +22,4 @@ Restart=always RestartSec=60 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target