Browse Source

Add PublicIP to the lnd.service

dev
21isenough 6 years ago
parent
commit
6475a497be
  1. 4
      home.admin/assets/lnd.service

4
home.admin/assets/lnd.service

@ -10,7 +10,7 @@ After=bitcoind.service
[Service] [Service]
EnvironmentFile= EnvironmentFile=
ExecStart=/usr/local/bin/lnd ExecStart=/usr/local/bin/lnd --externalip=${publicIP}
PIDFile=/home/bitcoin/.lnd/lnd.pid PIDFile=/home/bitcoin/.lnd/lnd.pid
User=bitcoin User=bitcoin
Group=bitcoin Group=bitcoin
@ -22,4 +22,4 @@ Restart=always
RestartSec=60 RestartSec=60
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

Loading…
Cancel
Save