summaryrefslogtreecommitdiffstats
path: root/tools/ansible/roles/dockerfile/files
diff options
context:
space:
mode:
authorMarcelo Moreira de Mello <tchello.mello@gmail.com>2021-04-22 17:51:39 +0200
committerMarcelo Moreira de Mello <tchello.mello@gmail.com>2021-04-22 17:51:39 +0200
commitf397679cc51c636c4aa5f21546bf2060f154b65f (patch)
treefacb116a099eea01dfb4fbe44a8baf8dfc593f16 /tools/ansible/roles/dockerfile/files
parentMerge pull request #9958 from AlexSCorey/9910-PluralAriaLabel (diff)
downloadawx-f397679cc51c636c4aa5f21546bf2060f154b65f.tar.xz
awx-f397679cc51c636c4aa5f21546bf2060f154b65f.zip
Wait for the database migrations before starting
Diffstat (limited to 'tools/ansible/roles/dockerfile/files')
-rwxr-xr-xtools/ansible/roles/dockerfile/files/launch_awx_task.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ansible/roles/dockerfile/files/launch_awx_task.sh b/tools/ansible/roles/dockerfile/files/launch_awx_task.sh
index 4df5aefeb7..7d5ac3265c 100755
--- a/tools/ansible/roles/dockerfile/files/launch_awx_task.sh
+++ b/tools/ansible/roles/dockerfile/files/launch_awx_task.sh
@@ -13,4 +13,6 @@ if [ -n "${AWX_KUBE_DEVEL}" ]; then
export SDB_NOTIFY_HOST=$MY_POD_IP
fi
+wait-for-migrations
+
supervisord -c /etc/supervisord_task.conf