pinecrypt-gateway-strongswa.../entrypoint.sh

7 lines
131 B
Bash
Raw Normal View History

2021-06-02 12:36:28 +00:00
#!/bin/sh
while [ ! -e $1 ]; do
sleep 1
done
curl -X DELETE http://127.0.0.1:2001/api/by-service/strongswan
ipsec start --nofork