Startup race condition fixes
This commit is contained in:
parent
b7640bd1ab
commit
b3f25a2538
@ -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…
Reference in New Issue
Block a user