certidude/entrypoint-strongswan.sh

13 lines
185 B
Bash
Raw Normal View History

2021-04-14 11:26:50 +00:00
#!/bin/sh
sleep 10
set -e
$@
AUTHORITY=$3
echo "Client config:"
cat /etc/certidude/client.conf
echo
echo "Generated VPN config:"
cat /etc/ipsec.conf
echo
/usr/sbin/ipsec start --nofork