certidude/entrypoint-strongswan.sh

9 lines
159 B
Bash
Raw Normal View History

2021-04-14 11:26:50 +00:00
#!/bin/sh
rm -fv /run/certidude/*.pid
2021-04-14 11:26:50 +00:00
sleep 10
set -e
$@
AUTHORITY=$3
2021-05-01 12:48:38 +00:00
test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem
2021-04-14 11:26:50 +00:00
/usr/sbin/ipsec start --nofork