1
0

Fix Tor issue on old deployments

This commit is contained in:
nicolas.dorier
2019-06-24 14:21:29 +09:00
parent b82d66d35d
commit bf4f104f59
3 changed files with 3 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ fi
. ./build.sh
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
cp Generated/torrc.tmpl "$(dirname "$BTCPAY_DOCKER_COMPOSE")/torrc.tmpl"
fi
if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "/etc/profile.d/btcpay-env.sh"; then