Commit 447bd54f828146e6f5f5f3d4fabf4fe3a48a094d

Authored by Jacob Vosmaer
1 parent c6b8c421

Create symlinked log directory

I hope the runit logging (via svlogd) and the assorted logs of the Rails
code (sidekiq.log, application.log, githost.log) will not bite each
other.
files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb
... ... @@ -73,6 +73,10 @@ link "/opt/gitlab/embedded/service/gitlab-core/tmp" do
73 73 to gitlab_core_tmp_dir
74 74 end
75 75  
  76 +link "/opt/gitlab/embedded/service/gitlab-core/log" do
  77 + to gitlab_core_log_dir
  78 +end
  79 +
76 80 execute "chown -R #{node['gitlab']['user']['username']} /opt/gitlab/embedded/service/gitlab-core/public"
77 81  
78 82 runit_service "gitlab-core" do
... ...