Browse Source

Fix hardcoded paths

master
Lauri Võsandi 1 year ago
parent
commit
4bbe0093f6
  1. 2
      entrypoint-openvpn.sh
  2. 2
      entrypoint-strongswan.sh

2
entrypoint-openvpn.sh

@ -4,5 +4,5 @@ sleep 10 @@ -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

2
entrypoint-strongswan.sh

@ -4,5 +4,5 @@ sleep 10 @@ -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

Loading…
Cancel
Save