mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-16 09:57:07 -05:00
0564e4ebb4
* vpn: add fake-on-prem infra * dev-docs: move vpn helm
14 lines
303 B
Bash
14 lines
303 B
Bash
#!/bin/sh
|
|
|
|
# The charon binary is not included in the PATH generated by nixery.dev, find it manually.
|
|
charon="$(dirname "$(readlink -f "$(command -v charon-systemd)")")/../libexec/ipsec/charon"
|
|
|
|
"${charon}" &
|
|
|
|
while ! swanctl --stats > /dev/null 2> /dev/null; do
|
|
sleep 1
|
|
done
|
|
swanctl --load-all
|
|
|
|
wait
|