mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
9 lines
259 B
Bash
9 lines
259 B
Bash
|
#!/usr/bin/env bash
|
||
|
if [ `id -u` -ge 10000 ]; then
|
||
|
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
|
||
|
cat /tmp/passwd > /etc/passwd
|
||
|
rm /tmp/passwd
|
||
|
fi
|
||
|
tower-manage collectstatic --noinput --clear
|
||
|
supervisord -c /supervisor.conf
|