diff options
Diffstat (limited to 'ci/docker/starteduvpn.sh')
| -rw-r--r-- | ci/docker/starteduvpn.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ci/docker/starteduvpn.sh b/ci/docker/starteduvpn.sh new file mode 100644 index 0000000..191ef79 --- /dev/null +++ b/ci/docker/starteduvpn.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +systemctl start php-fpm +systemctl start httpd +systemctl start crond + +vpn-daemon & +sleep 5 + +vpn-maint-apply-changes + +USER_NAME="docker" +USER_PASS="docker" + +sudo -u apache vpn-user-portal-account --add "${USER_NAME}" --password "${USER_PASS}" + +sleep infinity |
