Fix hardcoded paths

This commit is contained in:
Lauri Võsandi 2021-05-01 15:48:38 +03:00
parent 3bf982e84b
commit 4bbe0093f6
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ sleep 10
set -e set -e
$@ $@
AUTHORITY=$3 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 openvpn --config /etc/openvpn/$AUTHORITY.conf

View File

@ -4,5 +4,5 @@ sleep 10
set -e set -e
$@ $@
AUTHORITY=$3 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 /usr/sbin/ipsec start --nofork