mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 00:47:37 -02:30
Fix race condition causing rsyslog to crash
This commit is contained in:
@@ -17,4 +17,11 @@ set -e
|
|||||||
|
|
||||||
wait-for-migrations
|
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
|
supervisord -c /etc/supervisord.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user