From b3f25a25380c3e97618d345259c8dfe20e17d108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 9 Jun 2021 22:32:48 +0300 Subject: [PATCH] Startup race condition fixes --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9f5d784..34605b8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -while [ ! -e $1 ]; do +while [ ! -e /server-secrets/ipsec.conf ]; do sleep 1 done curl -X DELETE http://127.0.0.1:2001/api/by-service/strongswan