Rename launch script for launch awx web

launch_awx.sh that this PR rename is also now only use for launching awx web container renaming to reflect it's purpose

also remove the no longer needed creation of rsyslog conf as rsyslog is no longer in the web container

Update Dockerfile.j2
This commit is contained in:
Hao Liu
2023-03-29 19:41:35 -04:00
parent 0cc02d311f
commit 6c0c1f6853
3 changed files with 21 additions and 29 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
if [ `id -u` -ge 500 ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
if [ -n "${AWX_KUBE_DEVEL}" ]; then
pushd /awx_devel
make awx-link
popd
export SDB_NOTIFY_HOST=$MY_POD_IP
fi
set -e
wait-for-migrations
exec supervisord -c /etc/supervisord_web.conf