certidude/entrypoint-openvpn.sh

9 lines
153 B
Bash
Executable File

#!/bin/sh
set -e
set -x
sleep 10
$@
AUTHORITY=$3
test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem
openvpn --config /etc/openvpn/$AUTHORITY.conf