start cln on the end of provisioning

This commit is contained in:
openoms
2021-07-23 10:36:45 +01:00
parent 1638961e7a
commit b906120e3d

View File

@@ -721,7 +721,11 @@ fi
# MAKE SURE SERVICES ARE RUNNING # MAKE SURE SERVICES ARE RUNNING
echo "Make sure main services are running .." >> ${logFile} echo "Make sure main services are running .." >> ${logFile}
sudo systemctl start ${network}d sudo systemctl start ${network}d
sudo systemctl start lnd if [ "${lightning}" == "lnd" ];then
sudo systemctl start lnd
elif [ "${lightning}" == "cln" ];then
sudo systemctl start lightningd
fi
echo "DONE - Give raspi some cool off time after hard building .... 5 secs sleep" >> ${logFile} echo "DONE - Give raspi some cool off time after hard building .... 5 secs sleep" >> ${logFile}
sleep 5 sleep 5