diff --git a/entrypoint-openvpn.sh b/entrypoint-openvpn.sh index a761cb9..3d4bfdc 100755 --- a/entrypoint-openvpn.sh +++ b/entrypoint-openvpn.sh @@ -4,5 +4,5 @@ sleep 10 set -e $@ AUTHORITY=$3 -test -f /etc/certidude/authority/ca5.dev.lan/host_cert.pem +test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem openvpn --config /etc/openvpn/$AUTHORITY.conf diff --git a/entrypoint-strongswan.sh b/entrypoint-strongswan.sh index 8421e04..bead603 100755 --- a/entrypoint-strongswan.sh +++ b/entrypoint-strongswan.sh @@ -4,5 +4,5 @@ sleep 10 set -e $@ AUTHORITY=$3 -test -f /etc/certidude/authority/ca5.dev.lan/host_cert.pem +test -f /etc/certidude/authority/$AUTHORITY/host_cert.pem /usr/sbin/ipsec start --nofork