fix provision script

This commit is contained in:
rootzoll 2020-01-28 19:06:45 +01:00
parent b6a28f52dd
commit f10d6402e0

View File

@ -255,8 +255,7 @@ fi
# BTCPAYSERVER - not restored due to need for domain name and port forwarding
if [ "${BTCPayServer}" = "on" ]; then
if [ "${runBehindTor}" = "on" ]; && [ "${BTCPayDomain}" = "localhost" ] then
if [ "${runBehindTor}" = "on" ] && [ "${BTCPayDomain}" = "localhost" ]; then
echo "Provisioning BTCPAYSERVER on TOR - run config script" >> ${logFile}
sudo -u admin /home/admin/config.scripts/bonus.btcpayserver.sh on tor >> ${logFile} 2>&1
else