mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-11 05:13:13 +02:00
#214 deactivate BTCPay provisioning for now
This commit is contained in:
@@ -255,15 +255,17 @@ fi
|
|||||||
|
|
||||||
# BTCPAYSERVER - not restored due to need for domain name and port forwarding
|
# BTCPAYSERVER - not restored due to need for domain name and port forwarding
|
||||||
if [ "${BTCPayServer}" = "on" ]; then
|
if [ "${BTCPayServer}" = "on" ]; then
|
||||||
if [ "${runBehindTor}" = "on" ] && [ "${BTCPayDomain}" = "localhost" ]; then
|
# --> TODO: BTCPay Server install does not run clean during provision
|
||||||
echo "Provisioning BTCPAYSERVER on TOR - run config script" >> ${logFile}
|
# --> needs install when everything is already 'running'
|
||||||
sudo sed -i "s/^message=.*/message='Setup BTCPay (takes time)'/g" ${infoFile}
|
#if [ "${runBehindTor}" = "on" ] && [ "${BTCPayDomain}" = "localhost" ]; then
|
||||||
sudo -u admin /home/admin/config.scripts/bonus.btcpayserver.sh on tor >> ${logFile} 2>&1
|
# echo "Provisioning BTCPAYSERVER on TOR - run config script" >> ${logFile}
|
||||||
else
|
# sudo sed -i "s/^message=.*/message='Setup BTCPay (takes time)'/g" ${infoFile}
|
||||||
|
# sudo -u admin /home/admin/config.scripts/bonus.btcpayserver.sh on tor >> ${logFile} 2>&1
|
||||||
|
#else
|
||||||
# provisioning non-TOR BTCPayServer is not supported yet - needs manual reinstall
|
# provisioning non-TOR BTCPayServer is not supported yet - needs manual reinstall
|
||||||
echo "Setting BTCPayServer to be off - will need to be reinstalled from the menu again" >> ${logFile}
|
echo "Setting BTCPayServer to be off - will need to be reinstalled from the menu again" >> ${logFile}
|
||||||
sudo sed -i "s/^BTCPayServer=.*/BTCPayServer=off/g" /mnt/hdd/raspiblitz.conf
|
sudo sed -i "s/^BTCPayServer=.*/BTCPayServer=off/g" /mnt/hdd/raspiblitz.conf
|
||||||
fi
|
#fi
|
||||||
else
|
else
|
||||||
echo "Provisioning BTCPayServer - keep default" >> ${logFile}
|
echo "Provisioning BTCPayServer - keep default" >> ${logFile}
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user