StrongSwan wrapper for Pinecrypt Gateway
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

7 lines
162 B

#!/bin/sh
set -e
while [ ! -e /server-secrets/ipsec.conf ]; do
sleep 1
done
curl -X DELETE http://127.0.0.1:2001/api/by-service/strongswan
ipsec start --nofork