Skip to content

Unicorn: add touch to start-workhorse script, ensure log exists early

Jason Plum requested to merge ensure-workhorse-log-exists-early into master

As found in https://gitlab.com/charts/helm.gitlab.io/issues/283

When the tail -f /var/log/gitlab/* is processed by the shell, /var/log/gitlab/workhorse.log does not exist, and thus the container output/logs do not expose the logs from Workhorse.

Add a touch /var/log/gitlab/workhorse.log to ensure that the log file exist prior to the shell glob at the end of process-wrapper

Merge request reports