|
|
@ -71,7 +71,7 @@ echo "" |
|
|
|
|
|
|
|
###### Start LND |
|
|
|
echo "*** Starting LND ***" |
|
|
|
lndRunning=$(systemctl status lnd.service | grep -c running) |
|
|
|
lndRunning=$(systemctl status lnd.service 2>/dev/null | grep -c running) |
|
|
|
if [ ${lndRunning} -eq 0 ]; then |
|
|
|
sed -i "5s/.*/Wants=${network}d.service/" ./assets/lnd.service |
|
|
|
sed -i "6s/.*/After=${network}d.service/" ./assets/lnd.service |
|
|
|