From 233e9f1df1faff7a8dd06a6101a5ed069851a77c Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 20 Jun 2021 00:52:29 +0300 Subject: [PATCH] accept tos --- entrypoint.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 ) &