summaryrefslogtreecommitdiff
path: root/ci/docker/starteduvpn.sh
blob: 191ef792d334aaa416664f093975eba3d4e16a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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