mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 21:00:36 +02:00
#214 deactivate BTCPay provisioning for now
This commit is contained in:
parent
93558fe633
commit
01b7d558a8
@ -255,15 +255,17 @@ fi
|
||||
|
||||
# BTCPAYSERVER - not restored due to need for domain name and port forwarding
|
||||
if [ "${BTCPayServer}" = "on" ]; then
|
||||
if [ "${runBehindTor}" = "on" ] && [ "${BTCPayDomain}" = "localhost" ]; then
|
||||
echo "Provisioning BTCPAYSERVER on TOR - run config script" >> ${logFile}
|
||||
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
|
||||
# --> TODO: BTCPay Server install does not run clean during provision
|
||||
# --> needs install when everything is already 'running'
|
||||
#if [ "${runBehindTor}" = "on" ] && [ "${BTCPayDomain}" = "localhost" ]; then
|
||||
# echo "Provisioning BTCPAYSERVER on TOR - run config script" >> ${logFile}
|
||||
# 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
|
||||
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
|
||||
fi
|
||||
#fi
|
||||
else
|
||||
echo "Provisioning BTCPayServer - keep default" >> ${logFile}
|
||||
fi
|
||||
|
@ -66,7 +66,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
# echo "exiting as user cancelled BTCPayServer installation"
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
|
||||
if [ "$2" == "tor" ]; then
|
||||
sudo sed -i "s/^BTCPayDomain=.*/BTCPayDomain='localhost'/g" /mnt/hdd/raspiblitz.conf
|
||||
/home/admin/config.scripts/internet.hiddenservice.sh btcpay 80 23000
|
||||
|
Loading…
x
Reference in New Issue
Block a user