certidude/entrypoint-openvpn.sh

8 lines
146 B
Bash
Raw Normal View History

2021-04-14 11:26:50 +00:00
#!/bin/sh
set -e
2021-05-03 08:14:13 +00:00
sleep 10
2021-04-14 11:26:50 +00:00
$@
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
openvpn --config /etc/openvpn/$AUTHORITY.conf