2021-04-14 11:26:50 +00:00
|
|
|
#!/bin/sh
|
2021-05-01 12:33:51 +00:00
|
|
|
rm -fv /run/certidude/*.pid
|
2021-04-14 11:26:50 +00:00
|
|
|
sleep 10
|
|
|
|
set -e
|
|
|
|
$@
|
|
|
|
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
|