diff --git a/entrypoint.sh b/entrypoint.sh index 5755a8d..5430346 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,15 +1,13 @@ #!/bin/bash -yes | warp-cli status - ( -while ! warp-cli register; do +while ! warp-cli --accept-tos register; do sleep 1 >&2 echo "Awaiting warp-svc become online..." done -warp-cli set-mode proxy -warp-cli set-proxy-port 40001 -warp-cli connect +warp-cli --accept-tos set-mode proxy +warp-cli --accept-tos set-proxy-port 40001 +warp-cli --accept-tos connect haproxy -f /etc/haproxy/haproxy.cfg ) &