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

8 lines
162 B
Bash
Raw Permalink Normal View History

2021-06-02 12:36:28 +00:00
#!/bin/sh
2021-06-08 09:02:30 +00:00
set -e
2021-06-09 19:32:48 +00:00
while [ ! -e /server-secrets/ipsec.conf ]; do
2021-06-02 12:36:28 +00:00
sleep 1
done
curl -X DELETE http://127.0.0.1:2001/api/by-service/strongswan
ipsec start --nofork