Add PublicIP to the lnd.service

This commit is contained in:
21isenough 2019-02-01 03:42:45 +01:00
parent 1c5fc44ea8
commit 6475a497be

View File

@ -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
WantedBy=multi-user.target