mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Fix race condition causing rsyslog to crash
This commit is contained in:
parent
0cbc802cf4
commit
dbdc529d4a
@ -17,4 +17,11 @@ set -e
|
||||
|
||||
wait-for-migrations
|
||||
|
||||
# This file will be re-written when the dispatcher calls reconfigure_rsyslog(),
|
||||
# but it needs to exist when supervisor initially starts rsyslog to prevent the
|
||||
# container from crashing. This was the most minimal config I could get working.
|
||||
cat << EOF > /var/lib/awx/rsyslog/rsyslog.conf
|
||||
action(type="omfile" file="/dev/null")
|
||||
EOF
|
||||
|
||||
supervisord -c /etc/supervisord.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user