Commit 447bd54f828146e6f5f5f3d4fabf4fe3a48a094d
1 parent
c6b8c421
Exists in
master
and in
17 other branches
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.
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/recipes/gitlab-core.rb
| @@ -73,6 +73,10 @@ link "/opt/gitlab/embedded/service/gitlab-core/tmp" do | @@ -73,6 +73,10 @@ link "/opt/gitlab/embedded/service/gitlab-core/tmp" do | ||
| 73 | to gitlab_core_tmp_dir | 73 | to gitlab_core_tmp_dir |
| 74 | end | 74 | end |
| 75 | 75 | ||
| 76 | +link "/opt/gitlab/embedded/service/gitlab-core/log" do | ||
| 77 | + to gitlab_core_log_dir | ||
| 78 | +end | ||
| 79 | + | ||
| 76 | execute "chown -R #{node['gitlab']['user']['username']} /opt/gitlab/embedded/service/gitlab-core/public" | 80 | execute "chown -R #{node['gitlab']['user']['username']} /opt/gitlab/embedded/service/gitlab-core/public" |
| 77 | 81 | ||
| 78 | runit_service "gitlab-core" do | 82 | runit_service "gitlab-core" do |