aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/base/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/base/start.sh b/docker/base/start.sh
index d9801d750..a42c01391 100644
--- a/docker/base/start.sh
+++ b/docker/base/start.sh
@@ -11,6 +11,13 @@ if [[ ! "${!SKIP_LOG_SETUP[@]}" && -e /var/lib/kolla/rsyslog ]]; then
sudo ln -sf /var/lib/kolla/rsyslog/log /dev/log
fi
+# Wait for the log socket
+if [[ ! "${!SKIP_LOG_SETUP[@]}" && -e /var/lib/kolla/heka ]]; then
+ while [[ ! -S /var/lib/kolla/heka/log ]]; do
+ sleep 1
+ done
+fi
+
# Processing /var/lib/kolla/config_files/config.json as root. This is necessary
# to permit certain files to be controlled by the root user which should
# not be writable by the dropped-privileged user, especially /run_command