fix lnd testnet / signet not started

This commit is contained in:
rootzoll 2021-08-29 13:25:40 +02:00
parent 2feb3a439c
commit 4f7c66b4ee

View File

@ -318,6 +318,7 @@ fi
if [ "${tlnd}" == "on" ]; then if [ "${tlnd}" == "on" ]; then
echo "Provisioning LND Testnet - run config script" >> ${logFile} echo "Provisioning LND Testnet - run config script" >> ${logFile}
sudo /home/admin/config.scripts/lnd.chain.sh on testnet >> ${logFile} 2>&1 sudo /home/admin/config.scripts/lnd.chain.sh on testnet >> ${logFile} 2>&1
sudo systemctl start tlnd >> ${logFile} 2>&1
else else
echo "Provisioning LND Testnet - not activ" >> ${logFile} echo "Provisioning LND Testnet - not activ" >> ${logFile}
fi fi
@ -326,6 +327,7 @@ fi
if [ "${slnd}" == "on" ]; then if [ "${slnd}" == "on" ]; then
echo "Provisioning LND Signet - run config script" >> ${logFile} echo "Provisioning LND Signet - run config script" >> ${logFile}
sudo /home/admin/config.scripts/lnd.chain.sh on signet >> ${logFile} 2>&1 sudo /home/admin/config.scripts/lnd.chain.sh on signet >> ${logFile} 2>&1
sudo systemctl start slnd >> ${logFile} 2>&1
else else
echo "Provisioning LND Signet - not activ" >> ${logFile} echo "Provisioning LND Signet - not activ" >> ${logFile}
fi fi