Startup race condition fixes

master
Lauri Võsandi 2 years ago
parent b7640bd1ab
commit b3f25a2538
  1. 2
      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

Loading…
Cancel
Save