certidude/entrypoint-openvpn.sh

8 lines
147 B
Bash
Raw Normal View History

2021-04-14 11:26:50 +00:00
#!/bin/sh
sleep 10
set -e
$@
AUTHORITY=$3
2021-04-14 20:49:25 +00:00
test -f /etc/certidude/authority/ca5.dev.lan/host_cert.pem
2021-04-14 11:26:50 +00:00
openvpn --config /etc/openvpn/$AUTHORITY.conf