summaryrefslogtreecommitdiff
path: root/ci/docker/starteduvpn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/docker/starteduvpn.sh')
-rw-r--r--ci/docker/starteduvpn.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/docker/starteduvpn.sh b/ci/docker/starteduvpn.sh
index cddf88c..39eb53e 100644
--- a/ci/docker/starteduvpn.sh
+++ b/ci/docker/starteduvpn.sh
@@ -15,10 +15,11 @@ systemctl start httpd
systemctl start crond
vpn-daemon &
+pid_daemon=$!
sleep 5
vpn-maint-apply-changes
sudo -u apache vpn-user-portal-account --add "${PORTAL_USER}" --password "${PORTAL_PASS}"
-sleep infinity
+wait $pid_daemon