diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-24 14:49:46 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-24 14:49:46 +0100 |
| commit | 9f44f46a4cbf6857560acf567e2c0e93bd39012d (patch) | |
| tree | 2fa74e3f2dbf712497daca90a21f6f54be62d485 /ci/docker/start.sh | |
| parent | 920aa02f020c348ddfc3dd1c31684fcc5d386897 (diff) | |
Add CI docker images for testing with the server
Diffstat (limited to 'ci/docker/start.sh')
| -rw-r--r-- | ci/docker/start.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ci/docker/start.sh b/ci/docker/start.sh new file mode 100644 index 0000000..c1211b5 --- /dev/null +++ b/ci/docker/start.sh @@ -0,0 +1,15 @@ +#!/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}" |
