certidude/entrypoint-strongswan.sh

9 lines
159 B
Bash
Executable File

#!/bin/sh
rm -fv /run/certidude/*.pid
sleep 10
set -e
$@
AUTHORITY=$3
test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem
/usr/sbin/ipsec start --nofork